Skip to content

justin-wilxite/go-react-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

npm install everything in the root directory for the frontend, I think you may have to run go get in /api to install the packages for the backend too, but I'm unsure.

Set all your environment variables in /api/.env - this is stuff for your local mySQL DB and your email host (probably best to use your personal email) - use temp-mail.org to handle temporary email addresses for testing.

Run the backend first with npm start-api , then run the frontend with npm start.

Hopefully it works..

TODO (?) :

remove inline styles + clean up stylesheet + do mobile responsiveness. better/more validation on frontend and backend better error handling on backend in general add a logout function to clear the cookie rather than doing it via browser. add some more data to the session cookie. restructure the project (particularly how handlers are set up) to make it more readable.

About

A login system with Golang/React/Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 53.3%
  • Go 29.4%
  • HTML 7.2%
  • SCSS 6.8%
  • JavaScript 2.9%
  • Shell 0.4%