From your Application to your Doorstep, Backdoor has it all covered.
npm install bcrypt @types/bcrypt
bcrypt is a Node.js library for securely hashing and salting passwords, ensuring that even identical passwords produce unique hashes, protecting against brute-force attacks and enhancing overall security.
npm install cors @types/cors
CORS (Cross-Origin Resource Sharing) is a security feature in web browsers that allows or restricts web applications from making requests to a different domain than the one serving the web page.
npm install express @types/express
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for building web and mobile applications, including routing, middleware support, and HTTP utilities.
npm install mongoose @types/mongoose
Mongoose is a Node.js library that provides a schema-based solution for modeling and interacting with MongoDB databases, enabling data validation, relationship management, and easy CRUD operations.
npm install body-parser
Body-parser is a middleware in Express.js used to parse incoming request bodies in a middleware before your handlers. It supports parsing JSON, URL-encoded, and raw data formats.
npm install jsonwebtoken @types/jsonwebtoken
jsonwebtoken is a Node.js library used for securely transmitting information between parties as a JSON object. It's commonly used for authentication, generating and verifying JSON Web Tokens (JWTs).
npm install multer @types/multer
Multer is a Node.js middleware for handling multipart/form-data, primarily used for uploading files in Express applications. It processes incoming file uploads and stores them in specified locations.
Git clone the project using the project HTTP / SSH link.
git clone <link>
Use the 'll' terminal command to list the directories.
ll
ls -al
cd backdoors/
Installing the dev-dependency packages for the project.
npm install
Initiating the MongoDB Compass
sudo systemctl status mongod
sudo systemctl start mongod
Initiating the project server
npm start
http://localhost:
PORT | HANDLER |
---|---|
8001 |
ADMIN-ROUTE |
8002 |
VENDOR-ROUTE |
8003 |
FOOD-ROUTE |
POST :http://localhost:8001/createvandor
GET :http://localhost:8001/allvandors
GET :http://localhost:8001/vandor/<link>
POST :http://localhost:8002/login
GET :http://localhost:8002/profile
PATCH :http://localhost:8002/profile
PATCH :http://localhost:8002/service
POST :http://localhost:8002/addfood
GET :http://localhost:8002/allfoods
GET :http://localhost:8003/<pincode>
GET :http://localhost:8003/top-restaurant/<pincode>
GET :http://localhost:8003/foods-in-30/<pincode>
GET :http://localhost:8003/search/<pincode>
GET :http://localhost:8003/restaurant/<pincode>
AUTHOR | PROFILE |
---|---|
SUVAJIT KARMAKAR | LINK |
HRISHABH GAUTAM | LINK |
MANOSWITA BOSE | LINK |
- (5) 00:00:00