Yet another r/place clone.
This project was made from the Vue3-FastAPI-WebApp-template, with Vue3, Phaser3, FastAPI, and Websockets.
- Clone the repository:
git clone https://github.com/Tomansion/ToMansion-Pixelation
cd ToMansion-Pixelation
- Install the backend and frontend dependencies:
make install
# Or manually:
cd backend
pip install -r requirements.txt
cd ../frontend
npm install
- Run the backend and frontend:
make run
# Or manually:
cd backend
uvicorn websrv:app --reload --host 0.0.0.0 --port 3000
cd frontend # In another terminal
npm run serve
- Open the App:
- The application frontend: http://localhost:8080
- The FastAPI backend: http://localhost:3000
- The API SwaggerUI documentation: http://localhost:3000/docs
- The API Redoc documentation: http://localhost:3000/redoc
If you have any questions or need help, feel free to open an issue.
I'm open to contributions and suggestions. Feel free to open an issue or a make a pull request.