Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panagiop/movierama
A small social sharing platform where users can share their favourite movies.
https://github.com/panagiop/movierama
angular11 docker express-js mean-stack rest-api
Last synced: about 2 months ago
JSON representation
A small social sharing platform where users can share their favourite movies.
- Host: GitHub
- URL: https://github.com/panagiop/movierama
- Owner: panagiop
- Created: 2021-03-02T19:47:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-21T16:08:46.000Z (almost 4 years ago)
- Last Synced: 2024-10-27T00:47:25.536Z (3 months ago)
- Topics: angular11, docker, express-js, mean-stack, rest-api
- Language: TypeScript
- Homepage:
- Size: 235 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run it (using Docker - Preferable way)
* Make sure you have [docker] installed. At the root folder run the following command:
```sh
docker-compose up -d
```
* Navigate to `http://localhost:8888/` to view the application.## How to run it (using development servers)
### DB
* Make sure you have [mongoDB] installed.
* After, run the following command in terminal (`path_to_data` and `db_folder` folders should be already created):
```sh
mongod --dbpath
```
e.g:
```
mongod --dbpath ~/data/db
```
### Server
* Make sure you have [node.js] installed.
* After, inside the /server folder run:
```sh
npm install
```
* Inside the /server folder you can run it in development mode by typing:
```sh
npm run dev
```
### Client
* Inside the /client folder run:
```sh
npm install
```
* Inside the /client folder you can run it in development mode by typing:
```sh
ng serve
```
* Visit http://localhost:4200 to view the app## How to test it
* Create a user by clicking on Register button/menu item
* Add a couple of movies by clicking the Add button (this button is visible only if a user is logged in)
* Logout and create a second user
* Now you can vote a movie created by the first user
* And so on...[docker]:
[mongoDB]:
[node.js]: