Skip to content

Tonzi254/wk-five-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

This is an application that allows users to view the student details including their names, grade and course

Project Authors

  1. Daniel Rotich
  2. Grace Nyambura
  3. Mildred Awuor
  4. Josephat OleShangiti

Installation

  • Project Requirements
  1. Install npm >
  2. Install nodeJS >
  3. Install mongoDB >
  4. Install Postman > sudo snap install postman
  5. Install datagrid > **not necessary since we will use MongoDB Atlas
  6. Initialize npm > $ npm init -y
  7. Install express > $ npm install express
  8. Install mongoose > $ npm install mongoose
  9. Install dotEnv > $ npm install dotenv
  10. Install nodemon > $ npm install -g nodemon
  11. Install nodemon as a dependency > $ npm install --save-dev nodemon
  • Creating and running the application
  1. Initialize your application > $ npm init -y
  2. In the package.json file that is autoimatically created scroll to the scripts section and add a comma after the test script and below that line add below script to start your application "start": "node index.js"
  3. Code your APP (models, routes and index files)
  4. Connect your APP to the db using .env file
  5. Run your application $ npm run start
  6. Test the CRUD database operations using Postman or CURL on CLI
  7. Host the application on Render

Tools Used

  1. JavaScript
  2. NodeJS
  3. MongoDB Atlas
  4. Postman
  5. VS Code
  6. npm
  7. express
  8. mongoose
  9. nodemon
  10. dotEnv

Contact Information

Incase you have any question or contributions you can reach out to me via email me at danteskilz@gmail.com. I will try and respond as soon as possible. Thank you!

License

https://github.com/Tonzi254/wk-five-ip/blob/main/LICENSE

Copyright

Daniel Rotich et al. 2023