This Go application demonstrates a simple CRUD system with features like register, login, get profile and updating profile. It uses the go-chi/chi
router and PostgreSQL as the database.
Before running the application, ensure you have the following installed:
- Go (version 1.16 or higher)
- PostgreSQL
-
Clone the repository:
git clone https://github.com/dee-el/waizlytest cd waizlytest
-
Install dependencies:
go mod download
-
Set up the PostgreSQL database with the provided DDL in database.sql. Please open the comment to create your own database.
-
Update the configuration on
conf.yaml
-
Run the application:
go run main.go