Skip to content

PrayasPathak/snippetbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippetbox

A simple website built with Go programming language and its template engine. This project is taken out from Let's Go by Alex Edwards.

Features:

  1. View Snippet
  2. Create Snippet
  3. Register Account
  4. Login
  5. Reset Password
  6. TLS Support

Project Structure

The project is structured as follows:

  1. cmd/web -> contains the core application related logic. All routes, middlewares, helper functions, handlers and template parsing functionality resides here

  2. internal/ -> this module contains all the necessary functions to support validation logic, test setup and data models for the applications.

  3. ui/ -> contains static assets, templates to be rendered on the website.

Screenshots

Home Page

Home Page

Sign Up Page

Signup Page

Login Page

Login Page

Snippet Create Page

Snippet Create Page

Account Detail Page

Account Detail Page

Password Reset Page

Account Password Reset Page

About

A simple website to create, display and list snippets based on user accounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published