Skip to content

ashtonc/contact-manager

Repository files navigation

This is a contact manager implemented using Go. It uses postgres as its database server and runs nginx as a front end server that serves static content and reverse proxies the go http server.

Running

Simply vagrant up to start the server. Visit localhost:8000 to view the website.

To view the server log, vagrant ssh into the virtual machine, sudo su to switch to the root user, and tmux attach -t server to open the session that the log is writing to.

Bugs/fixes

  • Proper put/delete requests should be added (along with the ability to delete a contact).
  • Think a bit more about the nginx config...
  • Definition list CSS should be cleaned up, navigation should be made nicer, and the contact list could look better.
  • Some SQL errors still need to be properly handled in the code.
  • Templates have a bit of repetition that could be reduced.
  • Required fields could be added.
  • Notes field should display the new lines.
  • Giant submit button looks kinda juvenile.
  • Postgres login should be more secure.
  • CSRF field needs to be added: github.com/gorilla/csrf

About

A simple contact manager webapp written in Go as a school project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •