Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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]: