Skip to content

tanwinn/mauve_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mauve Server

FastAPI Mauve Server with MongoDB

Deployed: https://mauve-server-2020.herokuapp.com

GitHub: https://github.com/tanwinn/pearlhacks_server

Submission of Pearlhacks2020

Dev setup

git clone [email protected]:tanwinn/mauve_api.git
cd mauve_api
pipenv shell  # activate venv
pipenv sync # sync the dependencies packages

Dev framework

pytest
bc fmt # formatting
prospector # linting TODO: fix bc config linting

Download MongoDB Server Or connect to the MongoDB Cluster Atlas

.env file

MONGO_CONN_STR=mongodb+srv://mauve:<PASSWORD>@cluster0-kz2za.mongodb.net/test?retryWrites=true&w=majority

Make sure to reset the pipenv shell to apply the change

Run the App

uvicorn api.main:app --reload  # Run the app

WIP

  • Package setup
  • Test plugins?

About

Mauve API powered by FastAPI and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages