Documentation: github.com/yappify/api/tree/main/docs
This source code makes up the RESTful API that serves the backend server of Yappify. it is a monolith written in Go, with the chi router, PostgreSQL database, and sqlc ORM.
- Quickly set up development environment by running the following
mkdir yappify-api && cd yappify-api
git clone https://github.com/yappify/api.git .
cp .env.default .env && rm .env.default
- Start up docker desktop and start a postgres service in the background
make db-up
- Now, run the server
make run
You can alternatively run the server in a docker container. To do this, use:
make image
to build a docker image of the servermake image-up
to start the server in a docker containermake image-down
to stop the container.
You can now start making modifications. For more information, please consult the documentation.