Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saturngod/mean_tvseries
This is learning repo. I am using MEAN stack. MongoDB, Express , Angular and Node. All the data are from themoviedb
https://github.com/saturngod/mean_tvseries
Last synced: 26 days ago
JSON representation
This is learning repo. I am using MEAN stack. MongoDB, Express , Angular and Node. All the data are from themoviedb
- Host: GitHub
- URL: https://github.com/saturngod/mean_tvseries
- Owner: saturngod
- Created: 2023-06-19T21:21:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-23T06:18:18.000Z (over 1 year ago)
- Last Synced: 2024-10-15T02:10:58.131Z (2 months ago)
- Language: TypeScript
- Size: 12.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TVSeries
Before starting, must install all the depency.
```
npm install
cd public/angular-app
npm install
```## MongoDB (Databae)
Databae file can be found at `db_dump` folder. It's dump file of mongodb. It's gzip dump.
To restore
```bash
$ cd db_dump
$ mongorestore --gzip dump
```## Express
- `app.js` file for express
- `api` folder is for all the api.
- `api/controllers` folder for controllers.
- `api/services` folder for the collection services;
- `api/data` folder for database.
- `api/routes` folder is routes.
- `helpers` handle for Collection of Response. It will change later.
- `public` public static folder and angular project inside there.## Angular Application
It's store at `public/angular-app`.
It has following component
- footer
- header
- home
- login
- pagination
- profile
- register
- login
- series
- star-rating
- search
- cover
- edit-episode-from
- edit-series-form
- episodes-listIt has following services
- authentication
- series-data
- user-dataUsing interceptor for token passing.
- authentication.interceptor
## Node
`package.json` has all depency.
To run both frontend and backend
```
npm start
```Run only backend
```
npm run startBackend
```Run only Frontend
```
npm run startFrontend
```# Screen
![](./screen.png)