Skip to content

muhammadali7768/go-svelte-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

go-svelte-example

I have implemented a simple go backend api and svlete frontend for books CRUD. I have used the postres database for storing the data. The init.sql file contain the books and users tables create query. Running the docker compose up command will create the table from the init.sql file.

Setting up DB

To create the database and the books table, navigate to go-api directory and run the following docker-compose command.

docker-compose up -d

Navigate to go-api folder and copy .env.example file content to .env file and update the connection string according to your variables.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published