Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zrna/reviews-backend
🎥 The application where you can add a review for a movie, TV show or series.
https://github.com/zrna/reviews-backend
api express jsonwebtoken mvc-architecture mysql nodejs swagger
Last synced: about 1 month ago
JSON representation
🎥 The application where you can add a review for a movie, TV show or series.
- Host: GitHub
- URL: https://github.com/zrna/reviews-backend
- Owner: Zrna
- Created: 2021-03-17T22:12:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T09:53:27.000Z (2 months ago)
- Last Synced: 2024-10-12T10:18:18.531Z (2 months ago)
- Topics: api, express, jsonwebtoken, mvc-architecture, mysql, nodejs, swagger
- Language: JavaScript
- Homepage:
- Size: 642 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reviews backend
## Instalation
1. Create `moovier_app` database
2. Create `.env` file - see `.env.example` in root of the project
- insert your database credentials in `.env` file
3. Run `npm install` to install necessary npm packages
4. Run `npm run migration:run` to run db migrations
5. Run `npm start` to start the project## Migrations
To create new migration run:
```
npm run migration:generate *table_name*
```The created migration will appear in the `migrations` folder.
## Swagger
Swagger is running on [http://localhost:5001/api-docs](http://localhost:5001/api-docs)
# Frontend part
After installing the backend part go and install the [frontend part](https://github.com/Zrna/reviews-web) of the application for full experience.
https://github.com/Zrna/reviews-web