https://github.com/mariamelsahhar/transcendence
https://github.com/mariamelsahhar/transcendence
bootstrap django-rest-framework full-stack html html-css-javascript javascript threejs
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mariamelsahhar/transcendence
- Owner: MariamElSahhar
- Created: 2024-09-20T06:40:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-15T13:38:17.000Z (over 1 year ago)
- Last Synced: 2025-04-02T07:17:47.842Z (about 1 year ago)
- Topics: bootstrap, django-rest-framework, full-stack, html, html-css-javascript, javascript, threejs
- Language: JavaScript
- Homepage:
- Size: 8.85 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
## Running on Docker
1. Run `make docker-up` in root
2. Access backend on `http://localhost:8000/`
3. Access frontend on `https://localhost:80/`
## Running locally
### Frontend
1. Install `http-server` through npm or brew (or some other way)
3. Run `make run-frontend`
4. Access through `http://127.0.0.1:80/`
### Backend and Database
1. Make you activate a Python environment and install the packages in `requirements.txt`
2. Run `make run-db`
This runs the PostgreSQL container and maps the database to ``data/`` in the repository. `data/` is in `.gitignore` and won't be uploaded to Git.
3. Run `make run-backend`
4. Backend API is available through `http://127.0.0.1:8000/`