Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okestevo/online-shop
https://github.com/okestevo/online-shop
css ejs html js mongodb nodejs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/okestevo/online-shop
- Owner: okeStevo
- Created: 2024-11-20T21:59:22.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-20T22:38:14.000Z (about 2 months ago)
- Last Synced: 2024-11-20T23:19:14.807Z (about 2 months ago)
- Topics: css, ejs, html, js, mongodb, nodejs
- Language: JavaScript
- Homepage: https://online-shop-4uhy.onrender.com/products
- Size: 887 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To start working on this project,you can simply download the propject or clone it, then you can do the following
1 - open the terminal and run npm install to install all nessecary dependencies
2 - replate the MONGODB_URL with the url you get when you create a mongodb database or you can test locally with mongo db cli (offline) and everyting will be just fine
and then evrything works fineto enble an admin user who can upload product, delete product and has access to all products;
simply go into your database and then into the user document you wsh to make n admin,
you cannow set a property called isAdmin, you can set it to true to enable the user as anadmin.