Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 746 Bytes

info.md

File metadata and controls

12 lines (12 loc) · 746 Bytes
  1. Going to add "Nodemon" and "Concurently" into our server so that our server and the frontend can run simentaneously. npm i -D nodemon concuncurrently
  2. Going to setup the ENV environment so that I can place all my personal details like API key etc in that file
    • npm i dotenv
    • Use process.env to access the contents in the env file.
  3. Added a MONGO_URI = {fetched from the website} field in the .env file 7} Adding Mongoose in the project
    • npm i mongoose
  4. Added Schemas for Users Products and Orders
  5. Using npm i bcryptjs to encrypt the password in mongoDB
  6. Creating a Seedr script to seed data in the DB
  7. Fetched data from the website and displayed it in the browser