The application is used to track and store expenses. This application build using MERN stack
- MongoDB - Database
- Express JS - Creating Rest End Point
- React JS - Front End
- Node JS - Back End
- MongoDB
- Node JS
- NPM
- React JS
- Collections -
- transaction - use to store transaction related information
- Fields -
- transaction - _id, text, amount, createdAt
- run command ** npm install** to install required modules
- add config.env file in
\server\config
dir and provide MONGO_URI for db connection.
MONGO_URI=mongodb://<HOST_NAME>:<PORT>/<DATABASE_NAME>
- to start server use command npm start
I have also attached POSTMAN collection for rest endpoint reference
- set your proxy in client/package.json based on where backend is hosted
- run command ** npm install** to install required modules
- to start server use command npm start
- see production branch
or - follow steps -
- In client folder, run command
npm run build
- It will create a build dir, that will caontain all static files
- copy build dir from client dir and paste it in server dir
- set NODE_ENV as production in \server\config
- run command npm start to start server in production mode
- In client folder, run command
Have a Good Day!