Skip to content

Latest commit

 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnippetBox

SnippetBox is a simple web application for storing and sharing text snippets on the web built with Go and MongoDB.

Installation

  1. Clone the repository:
git clone https://github.com/ashvwinn/snippetbox-mongo.git
cd snippetbox
  1. Set environment variables (look at .env.example for reference)

  2. Setup database with Docker Compose:

docker compose up -d
  1. Start the application: With go or with air
air
# or
go run ./cmd/web
# or
go build -o tmp/main ./cmd/web
./tmp/main

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages