Skip to content

aticie/Mapper-Influences-Backend

Repository files navigation

https://www.mapperinfluences.com


THIS REPOSITORY IS NO LONGER MAINTAINED. PLEASE GO TO https://github.com/112batuhan/mapper-influences-backend-rs

yes I did rewrite it in rust. I became the meme

Mapper influences backend code.

Uses MongoDB and Python FastAPI.

/docs for endpoint documentation.

If you have feature requests or bug reports, you can do so in frontend repository or in our discord

How to run

Easiest way would be to use docker:

  • Copy .env.example and change the name to .env
  • Fill it with your credentials.
  • Use docker compose up to run the project..

You might only want to run database in docker, to do that just use docker compose up mongo -d

To run locally, do the first two steps from docker instructions and:

  • Install python.
  • Use pip install -r requirements.txt to install packages.
  • uvicorn app.main:app --host 0.0.0.0 --port 8000 to start the server.

You might want to use python virtual environments to avoid insalling packages system wide. Check out here: https://docs.python.org/3/library/venv.html

How to run tests

If you can run the server locally using steps above, you can just type pytest and it will do its job.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages