Skip to content

Repository files navigation

READ this first before running the application

To run the application on your local machine, do the following first

MONGO DB COMPASS

1. idk what to put here atm

Running the Application on your local machine

1. Add a ".env" file to the root folder

2. Copy and paste the content of the ".env.example" into the ".env" file

3. Run "npm init -y"

4. Run "npm install admin-bro admin-bro-expressjs admin-bro-mongoose bcrypt-nodejs connect-flash connect-mongo cookie-parser csurf debug dotenv ejs ejs-lint express express-formidable express-session express-validator faker http-errors mapbox-gl moment mongoose mongoose-aggregate-paginate-v2 mongoose-slug-updater morgan nodemailer nodemon passport passport-local react react-dom session slugify stripe styled-components"

5. Right-click the seedDB folder and click the "Open in Integrated Terminal"

6. Type "node category-seed.js", then wait for it to finish

7. Type "node products-seed.js", then wait for it to finish

8. Type "node raw-product-seed.js", then wait for it to finish

9. Type "npm start" to start the server

10. Paste this link to your browser "http://localhost:3000/" (Or ctrl+click)

11. To access the admin page, paste "http://localhost:3000/admin" to your web browser (Or ctrl+click)

Testing ni rayray kung kita pfp niya sa github

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages