goPolygottal

command module
v0.0.0-...-f02f222 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 12 Imported by: 0

README ΒΆ

Project goPolyglottal

This project was made during a one-week sprint at Code Chrysalis Tokyo. The aim is to dabble into one language during one week and learn similarities and differences with Javascript (the main language taught at Code Chrysalis)

gopher mascot

Summary πŸ§‘β€πŸ’Ό

This app uses Go to create a simple REST API server. The front-end pages are served using Go's template engine. The database contains information regarding companies potentially recruiting in Tokyo. (This API was the first step towards creating a tool enabling users to record useful data regarding their job hunt).

Screenshot πŸ–₯️

app screenshot

Thanks to particles.js for the cool particle animation and CSS Gradients for the CSS gradient.

Installation πŸ€” and how to run πŸƒ

Installation

  1. Clone the repo to your local machine.
  2. Install PostgreSQL
  3. Create a Postgres database.
  4. Run psql utility
  5. Run CREATE DATABASE mydatabase; (replacing mydatabase by your name of choice)
  6. Create a .env file storing variables (look at the example.env file if you need assistance)
  7. From the terminal, go to the proper folder and run go run main.go
  8. With a web browser, visit the page http://localhost:8000 to see the main page! πŸŽ‰

Next features

  • Using Go's testing package to do robust unit tests and integration tests
  • Make database configuration more flexible (.env file)
  • Using Docker to deploy easily images of this program

References πŸ™

License πŸ‘ˆ

This repository is provided under the terms of MIT License

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL