All Projects → IsraelAdura → Go Postgres Jwt React Starter

IsraelAdura / Go Postgres Jwt React Starter

A go, gin, and postgres API with jwt auth, complete with a react frontend

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Go Postgres Jwt React Starter

Play Pac4j
Security library for Play framework 2 in Java and Scala: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 375 (+226.09%)
Mutual labels:  sql, authentication, jwt
Spring Webmvc Pac4j
Security library for Spring Web MVC: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 110 (-4.35%)
Mutual labels:  sql, authentication, jwt
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (+233.91%)
Mutual labels:  authentication, jwt, boilerplate
Spark Pac4j
Security library for Sparkjava: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 154 (+33.91%)
Mutual labels:  sql, authentication, jwt
Koa React Notes Web
🤓 A simple SPA built using Koa (2.5.1) as the backend and React (16.4.1) as the frontend. Features MySQL integration, user authentication, CRUD note actions, and more.
Stars: ✭ 61 (-46.96%)
Mutual labels:  starter, boilerplate, react-router
Spring Security Pac4j
pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 231 (+100.87%)
Mutual labels:  sql, authentication, jwt
Fastapi React
🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
Stars: ✭ 501 (+335.65%)
Mutual labels:  postgres, jwt, boilerplate
Buji Pac4j
pac4j security library for Shiro: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 444 (+286.09%)
Mutual labels:  sql, authentication, jwt
Fullstack Apollo Express Postgresql Boilerplate
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Stars: ✭ 1,079 (+838.26%)
Mutual labels:  postgres, authentication, boilerplate
Authentication Server
A simple authentication service to deliver JWT with Hasura claims, based on users with multiples roles stored in a Postgres database.
Stars: ✭ 48 (-58.26%)
Mutual labels:  authentication, jwt, boilerplate
Next Advanced Apollo Starter
Advanced, but minimalistic Next.js pre-configured starter with focus on DX
Stars: ✭ 131 (+13.91%)
Mutual labels:  starter, authentication, boilerplate
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (-2.61%)
Mutual labels:  authentication, jwt, boilerplate
Express Graphql Boilerplate
Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 201 (+74.78%)
Mutual labels:  authentication, jwt, boilerplate
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (+123.48%)
Mutual labels:  starter, boilerplate, react-router
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (+33.04%)
Mutual labels:  authentication, jwt, boilerplate
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-66.09%)
Mutual labels:  postgres, starter, boilerplate
Spring Security React Ant Design Polls App
Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
Stars: ✭ 1,336 (+1061.74%)
Mutual labels:  authentication, jwt, react-router
Golang Gin Realworld Example App
Exemplary real world application built with Golang + Gin
Stars: ✭ 1,780 (+1447.83%)
Mutual labels:  starter, jwt, boilerplate
Barong
Barong auth server
Stars: ✭ 100 (-13.04%)
Mutual labels:  authentication, jwt
Oxidizer
📦 A Rust ORM based on tokio-postgres and refinery
Stars: ✭ 100 (-13.04%)
Mutual labels:  sql, postgres

GO-React starter

This is a boilerplate/starter for a go and react project.

It uses the go gin framework.

Getting started

Download and install golang

Download and install postgres

Usage

Clone this repository

Use the queries in the server/db/.psql file to setup the database.

Enter the DB creds in the server/config/ file

Navigate to the server directory

> cd server
> go run main.go

This will start the go server.

To start the react app navigate to the client directory

> cd client
> yarn install
> yarn start

Endpoints

  • /session [GET]

  • /register [POST]

       { name String,
         email String,
         password String
       }
  • /login [POST]
       { email String,
         password String
       }
  • /createReset [POST]
       { email String
       }
  • /resetPassword [POST]
       { id Int,
          password String,
          confirm_password String
       }

Routes

  • /login

  • /register

  • /session

  • /createReset

  • /resetPassword

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].