# README
Notes API
About The Project
This is a RESTful API for a notes application, developed using Go. Although the API is designed to be simple in terms of business logic, it serves as a robust example of a Go project implementation. It is intended to be a solid starting point for more complex applications.
Features
- Basic Authentication
- Notes Managment
- File attachments
Built With
- Programming language - Go
- Http server - net/http
- Database - PostgreSQL
- Cache - Redis
How to test
Documentation
Installation
- Install Go 1.22.4 https://go.dev/doc/install
- Clone the repo
git clone https://github.com/daniarmas/notes.git
- Install Go dependencies
go mod download
- Install Docker https://docs.docker.com/desktop/
- Deploy docker compose file
cd deploy docker compose -f docker-compose-dev.yaml up -d
- Create the database tables
go run main.go create database
- Seed the database. This create the users in the database for test purpose
go run main.go create seed
- Run the app
go run main.go run
License
Distributed under the MIT License. See LICENSE.txt
for more information.