Backend implementation of ondo
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
- Install docker
- Install docker compose plugin
- Install the below vscode extension
- Click the bottom-left corner button and select
Open Folder in Container...
-
Create a new file named
.env
at the root of the project. -
Set up the
.env
file and set the key and values like below.OPEN_WEATHER_APPID
can get from OpenWeather.JWT_SECRET_KEY
andJWT_REFRESH_KEY
is for jwt. You can make a secure secret key by runningopenssl rand -hex 32
.TWILIO
can get from twilio.
OPEN_WEATHER_APPID="xxxxxxxxxxxxxxxxxxxx" ASYNC_DATABASE_URL="postgresql+asyncpg://postgres:postgres@localhost:5432/postgres" SYNC_DATABASE_URL="postgresql+psycopg2://postgres:postgres@localhost:5432/postgres" JWT_SECRET_KEY="xxxxxxxxxxxxxxxxxxxx" JWT_REFRESH_KEY="xxxxxxxxxxxxxxxxxxxx" TWILIO_SID = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" TWILIO_AUTH_TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" TWILIO_VIRTUAL_NUMBER = "+xxxxxxxxxxx" TWILIO_VERIFIED_NUMBER = "+xxxxxxxxxxxx"
git config --local core.hooksPath .githooks
sudo chmod a+x .githooks/pre-push
Note If you want to check what commands are available, type
make
.
- Create the tables
make reset-table
- Seed data
make seed
- Run server
make run
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Project Link: https://github.com/team-ondo/backend