Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayehia0/shareem
Share links with notes, deployed to DO using best practices!
https://github.com/ayehia0/shareem
Last synced: about 1 month ago
JSON representation
Share links with notes, deployed to DO using best practices!
- Host: GitHub
- URL: https://github.com/ayehia0/shareem
- Owner: AYehia0
- Created: 2024-09-07T20:45:35.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-13T19:27:57.000Z (3 months ago)
- Last Synced: 2024-10-15T18:11:36.218Z (2 months ago)
- Language: CSS
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shareem
Ignore the name, the purpose of this app is to try a new deployment method!
## Running locally
Make sure you have docker and docker-compose installed in your system, simply run `docker compose build` to build the images, then `docker compose up` to run! by default hot reload works!### Migration
To create migration, make sure [golang-migrate](https://github.com/golang-migrate/migrate) is installed : `migrate create -ext sql -dir database/migrations -seq `The migrations run automatically when app is restarted!
### Sqlc
To generate the sql code, make sure [sqlc](https://github.com/sqlc-dev/sqlc) is installed: `sqlc generate`sqlc uses the config file in : `sqlc.yaml`, you can see that I am using `pgx/v4` not `v5`