https://github.com/codepeters/movierama
A Movie Platform (2024)
https://github.com/codepeters/movierama
Last synced: 6 months ago
JSON representation
A Movie Platform (2024)
- Host: GitHub
- URL: https://github.com/codepeters/movierama
- Owner: CodePeters
- Created: 2024-10-11T18:58:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-07T09:57:13.000Z (about 1 year ago)
- Last Synced: 2024-12-07T10:26:24.494Z (about 1 year ago)
- Language: TypeScript
- Size: 724 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MovieRama
A Movie Platform (2024)
## _Tech Stack_
* Python3
* Django & Django-Rest Framework
* Django jwt Auth
* SQLite
* Angular 18
* Angular Material, Ng-Bootsrap
* Cloudflare worker (serverless)
* Cloudflare KV (Cache)
* ElasticSearch
## _Installation_
After git clone `cd` to the cloned repo: `cd ./MovieRama` and run `install.sh`.
- This installs dependencies including Elasticsearch, now run Elastic: `./elasticsearch-8.11.4/bin/elasticsearch` , Once done you will see a **password** that Elasticsearch generates, we need this for next step.
- Now for Django to use elasticsearch edit the settings file in: `MovieRama-backend/movierama/settings.py` (line 160) and add the previous password:
```
ELASTICSEARCH_DSL={
'default': {
'hosts': 'https://localhost:9200',
"http_auth": ("elastic", "YOUR_ELASTICSEARC_GENERATED_PASSWORD"),
...
},
}
```
We are almost there!:
Open another terminal and run:
- `python manage.py search_index --rebuild`
- `python manage.py runserver`
Now the backend should be up and running!, For the Frontend, in a new term:
- `cd ../movie-app-frontend`
- `ng serve`
Everything at this point should is up and running! App is served in `http://localhost:4200/`
##