Mini project on providing online platform to sell, lend or donate old class notes & textbooks using MEAN stack technology.
This project uses the MEAN stack:
- Mongoose.js (MongoDB): database
- Express.js: backend framework
- Angular 2+: frontend framework
- Node.js: runtime environment
Run the following command in both the sub directories (FrontEnd, BackEnd)
npm install
Next run the following command from the FrontEnd folder to start the Angular application.
ng serve
Now run the following command from the BackEnd folder to start the Node app and the Backend.
npm start
Now open your browser and go to http://127.0.0.1:4200
- you have any suggestion to improve this project
- you noticed any problem or error
Create a .env
file and paste the following content in backend Folder and change the username and password as required
PORT = 3000
MONGO_ONLINE_URL = mongodb://<username>:<password>147233.mlab.com:47233/notesbynerdsdb
MONGO_LOCAL_URL = mongodb://127.0.0.1:27017/notesbynerdsdb
BASE_URL_FRONTEND_1 = http://localhost:4200
BASE_URL_FRONTEND_2 = http://127.0.0.1:4200