GoFast

command module
v0.0.0-...-05b3b51 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 5 Imported by: 0

README

GoFast

Go API with Vue SPA(Single Page Application) starter pack. To easily get up to speed and reduce an amount of work for web development projects. We try to let you avoid as much boilerplate code as possible.
instead of setting up structure, dependencies and basic functionality, we provide it for you,
so you can make something great and fast with less effort.

Features:

  • Pre-set structure, for development by example.
  • Database automatic migrations.
  • Asset compilation.
  • SPA setup with state management.
  • Registration/Authorization Front to Back with JWTs.
  • Email verification.
  • Password reset.
  • Social authorization (currently with Google and Facebook)
  • Pagination service

Features to come (SOON!)

  • Docker support (!Important!)
  • Model-Controller-Route / CRUD automatic (scripted) Generation
  • Image upload
  • Frontend management
  • (Hopefully, many more...)
Dependency setup

You will need a few things for this project to work properly. Firstly, make sure you have installed Go, NPM, Redis, Postgres

Before you run server

Please make sure:

  • redis-server is up and running.
  • postgresql is up and running; you have created a new database for the server.
  • You have coped config/.env.example to config/.env and set correct variables for your system.
    .env file has a json structure. You have to set database(required) and other parameters (optional) accordingly.
Asset compilation
  • npm install
  • npm run dev
  • npm run watch (*For realtime asset compilation)
Run server
  • go run ./main.go
Go active dependencies
  • Fiber One of the fastest, mini web framework. Used for routing and middleware registration.
  • Gorm Go library for Object-Relational mapping of database.
  • More to come, (for whole list, check go.mod file)
Database
  • PostgreSQL database.
  • Redis server.
  • TODO: even though currently should only support PostgreSQL, other databases will be supported in the future.
Vue dependencies
  • VueX Frontend state management library.
  • Vue-Router Frontend routing library.
  • //TODO: more to come
General development dependencies
  • Webpack Used for module management.
  • Laravel Mix An elegant wrapper around Webpack for the 80% use case. Used for asset compilation.
  • //TODO: more to come
Contributing

For contribution guidelines make sure to visit our Contributing page. Any help is greatly appreciated!

Disclaimer

Some functionality isn't implemented (is just planned) and isn't guaranteed for the time.

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