Skip to content

UtkarshDixit-97/vyapar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vyapar | व्यापार

Notice - Live URL doesn't work anymore as most cloud is costly and i dont wanna waste money for live server. So netlify may still work but backend is not there

This project was bootstrapped with Vite

Screenshot-2022-02-16-at-23-25-09-Vyapar

Setup instruction - for backend

In the project directory, open 'api' folder :

NOTE - The env variables are right now pushed cause local setup doesn't really hold anything secret, you just need to edit out your mongo db url for local machine

npm i

Install the necessary dependency

node seed.js

This seeds the db with some data so you can use the app

'npm start'

Runs the app in the development mode.

Open http://localhost:3001 to view it in your browser.

Setup instruction - for frontend

npm i

Install the necessary dependency

npm run dev

Run the app

npm run build

Open http://localhost:3002 to view it in your browser.

Optional

Builds the app for production to the build folder.\

It correctly bundles React in production mode and optimizes the build for the best performance.

FOLDER STRUCTURE

API

--- contains backend hosted on cloud having http://vyappar.openode.dev/ as backend [This business has shut down, so no longer available]

lib -

  ##### mongoose

  ##### helmet

  ##### express

  ##### multer

  ##### nodemon

  ##### axios

  ##### morgan

  ##### cors

vyavhar-front

--- congtains front end of my app https://vyapar-final.netlify.app/

Screenshot-2022-02-16-at-23-41-46-Vyapar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors