module
0.0.0-20241129174219-8e12e8e0def1
Repository: https://github.com/alexandru-calin/tinycode.git
Documentation: pkg.go.dev
# README
tinycode
This is a web application written in Go that allows users to sign up, write, and view code snippets.
Features
- User authentication system
- Create and view code snippets
- Clean and simple UI
Requirements
- Go
- MySQL
- Make: A build tool (pre-installed on most Linux/macOS systems, can be installed via package managers)
- migrate: A command-line tool to perform migrations on the database. The easiest method is to download a pre-built binary and move it to a location on your system path
Getting Started
1. Clone the Repository
git clone https://github.com/alexandru-calin/tinycode
cd tinycode
2. Run the setup script
It sets up the database and generates a .envrc file.
chmod +x setup.sh
./setup.sh
3. Apply Database Migrations
make db/migrations/up
4. Start the application
make run/web
After starting the application, open your browser and navigate to
http://localhost:3000
You should see the home page of the web application. From here, users can sign up, log in, and interact with the platform.