https://github.com/amirhnajafiz/planner
Task management with Golang and Postgresql
https://github.com/amirhnajafiz/planner
golang postgresql
Last synced: 3 months ago
JSON representation
Task management with Golang and Postgresql
- Host: GitHub
- URL: https://github.com/amirhnajafiz/planner
- Owner: amirhnajafiz
- Created: 2022-05-30T09:52:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T16:41:48.000Z (about 3 years ago)
- Last Synced: 2024-06-20T15:00:37.861Z (over 1 year ago)
- Topics: golang, postgresql
- Language: Go
- Homepage:
- Size: 4.58 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Planner
Task management with Golang and PostgresQL. A best practice for working with PostgresQL in Golang applications.
## How to run the project?
Make sure you have **docker** and **golang** installed on your system.
Clone the project:
```shell
git clone https://github.com/amirhnajafiz/planner.git
```
Use docker to start the PostgresQL server on your system:
```shell
make dk-up
```
### Note
If you want to shut down the server, use:
```shell
make dk-down
```
Now run the following command to create your database in PostgresQL server:
```shell
make db-set
```
After that migrate your database schema:
```shell
make mig-up
```
Now start the application:
```shell
make start
```
Application is now running on _localhost:8080_