This is the backend for my xclone that i made a long time ago. I am currently refactoring it, so all there is documentation wise is the local run instructions. Check back soon for a more in depth documentation.
- Docker
- A Google OAuth Client ID & Credentials
- An S3 Bucket & Credentials
- Clone the project
git@github.com:jokerhutt/x-clone-backend.git
- Navigate to project directory
cd /path/to/x-clone-backend
-
Copy & Paste the
.example.envinto a.envfile in the project directory -
Place your S3 credentials in the
.env -
Optionally adjust the
FRONTEND_ORIGINSto match your frontend url. -
Run the Application Container (Runs the application and a DB with the schema)
docker compose -f docker-compose.duoclone.yml build backend
docker compose -f docker-compose.duoclone.yml up -d backend