Code Monkey home page Code Monkey logo

gofast's Introduction

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)

Features to come (SOON!)

  • Docker support (!Important!)
  • Pagination service
  • 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.

gofast's People

Contributors

gogotchuri avatar lkito avatar durid17 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.