Skip to content

yappify/api

Repository files navigation

Yappify API

MIT License ci-badge Go

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.

Contributing

  1. 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
  1. Start up docker desktop and start a postgres service in the background
make db-up
  1. Now, run the server
make run

You can alternatively run the server in a docker container. To do this, use:

  1. make image to build a docker image of the server
  2. make image-up to start the server in a docker container
  3. make image-down to stop the container.

You can now start making modifications. For more information, please consult the documentation.

About

Multithreaded API with Goroutined WebSocket for Yappify

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •