Skip to content

jinine/game-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Simple Game Server

A minimal, lightweight game server built with FastAPI, powered by Python 3 and MongoDB.

🛠 Features

  • User Profile management
  • Authentication (JWT-based)
  • Player stat tracking
  • REST API with auto-generated docs
  • Easily extendable (friends, chat, lobbies, matchmaking)

🔧 Setup

1. Clone the Repo

git clone https://github.com/jinine/game-server.git
cd game-server

2. Create and Activate a Virtual Environment

python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Create .env file, set 'your-mongodb-url' to your mongodb url string, set your secret key to 'your-secret-key'

MONGO_URL='your-mongodb-url'
SECRET_KEY='your-secret-key'

5. Run the Server

uvicorn main:app --reload

🧪 API Docs


🧾 License

MIT - free to modify, build on and deploy commercially


💬 Contact / Contribution

Made with ❤️ by Tristan Engen

Feel free to submit an issue! contribution guide will be detailed in a CONTRIBUTION.md file at a future date.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages