https://github.com/futuresea-dev/mern-seller-platform
MERN simiple site
https://github.com/futuresea-dev/mern-seller-platform
css express html javascript nodejs react typescript
Last synced: 2 months ago
JSON representation
MERN simiple site
- Host: GitHub
- URL: https://github.com/futuresea-dev/mern-seller-platform
- Owner: futuresea-dev
- Created: 2023-01-25T04:57:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T22:08:17.000Z (over 3 years ago)
- Last Synced: 2026-01-03T13:48:27.256Z (5 months ago)
- Topics: css, express, html, javascript, nodejs, react, typescript
- Language: TypeScript
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authorization overview for Sell and Resell 🎉
## 🔮 This project uses
- ⚛️ [React](https://reactjs.org/)
- 🛡️ [Node](https://nodejs.org/en/)
## 📖 How to run
- 🔽 Create MongoDB database and name "test"
- 🚪 Enter the frontend directory
cd frontend
- 🧑💻 Install the dependencies
npm i
- 🚪 Enter the backend directory
cd backend
- 🧑💻 Install the dependencies
npm i
- 🚀 Start the project with dev mode in backend directory
npm run dev
# Test Web UI
Register in site
When user regist in this site, should select authorization
Login as user role
Then login as admin role
There are 3 pages:
1. Seller - User and Admin can access this page.
2. Reseller - Only Admin can access this page.
3. Users - Only Admin can access this page.
If user with a user role access Reseller and Users pages, the 403 page will occure.