This is a React/TypeScript project that supports User and Admin roles using JSON server for the backend.
Admins can | Users can |
---|---|
Filter movies, | Filter movies |
Add a new movie, | Rate movies |
Edit a movie | Comment on a movie |
Delete a movie, | Edit their profile |
Edit their profile | Delete their profile |
Delete their profile, | Add movies on the watch list |
Approve registered user comments | Remove movies from the watch list |
Reject registered user comments |
.
Admins' UI | Users' UI |
---|---|
To get a local copy up and running follow these simple example steps.
-
Clone the repository with: git clone
https://github.com/blakbox23/moviely.git
-
Install dependencies by running:
npm install
-
Run
json-server data/db.json -m ./node_modules/json-server-auth --routes data/routes.json --port 8000
to start the JSON server on port 8000. -
Run
npm start
. The project should start up onhttp://localhost:3000/
To login as an admin use these logins:
email: test@pass2.com
,
password: TestPass2
👤 Peter Mbuthia
- GitHub: @Blakbox23
- Twitter: @blakbox23
- LinkedIn: Peter Mbuthia
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.