The goal of this project was to develop a comprehensive train travel API that facilitates users in effortlessly discovering available trips between cities. Users will have the ability to create personalized accounts, enabling them to conveniently save their most frequented routes for future reference.
You need to initialize npm
npm init
Install Express
npm install express
Install Nodemon
npm install nodemon —save-dev
MongoDB
npm install mongodb
npm install mongoose
Necessary for secure credential storing.
npm install dotenv
JTW to create tokens and facilitate conditional rendering
npm i jsonwebtoken
npm i cookie-parser
.
npm install cors
Install react icons
npm i react-icons
Run project
npm start
Bootstrap
npm install react-bootstrap bootstrap
Router DOM
npm install react-router-dom
Date picker
npm install react-datepicker --save