Skip to content

tyebean/lavndr-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask - React JWT Auth Template - Front End

This is the front end of a decoupled Flask React app that includes JWT Authentication.

When combined with the back end found here, you'll have all you need to build a full stack Flask React app!

Use this to go build things! 🚀

To Use This Template

Replace <name-of-your-app-here> in the commands below with the name of your app!

git clone https://github.com/SEI-Remote/flask-react-jwt-auth-template-frontend.git <name-of-your-app-here>
cd <name-of-your-app-here>-front-end

Once you are in the project directory:

rm -rf .git

Here's what your command line output should like after this step (note that the indicator that we are in a git repository is gone!)

The command line before and after running the rm -rf .git command. Before git:(main) is visible indiating that the directory contains a git repository, after the command it is not.

Re-initialize a git repository:

git init

Use the GitHub CLI to create a new project repository on GitHub:

gh repo create <name-of-your-app-here>-front-end

Run npm i to fetch the template's dependencies:

npm i

touch a .env file:

touch .env

Fill it with the following:

REACT_APP_API_URL=http://127.0.0.1:5000

🚨 DO NOT place secrets in this .env file. The contents of this file WILL be exposed to site visitors.

Delete this README.md, then make an initial commit:

git add .
git commit -m "initial commit"
git push -u origin main

You're done!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.2%
  • HTML 12.3%
  • CSS 11.5%