n8e / indorse

Authentication with Express js / React js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

indorse

Cloning the project

Clone the project

git clone git@github.com:n8e/indorse.git
cd indorse

Environment variables

Create environment variables within the API:

cd api
touch .env

The .env file needs to contain variables for the MAILER_ADDRESS and MAILER_PASSWORD. These are the credentials used in the nodemailer that sends an email as a new user registers.

.env

MAILER_ADDRESS='xxx@gmail.com'
MAILER_PASSWORD='xxxxx'

Running the project

At the root of the project is a docker-compose.yml file. Run

docker-compose up --build

See project on http://localhost:3000. Note that the API is on port 8080

Screenshots

Tabs to choose whether to signup or login

Screenshot 2019-07-09 at 18 45 28

Login tab

Screenshot 2019-07-09 at 18 45 44

Signup tab

Screenshot 2019-07-09 at 18 45 57

About

Authentication with Express js / React js


Languages

Language:JavaScript 90.8%Language:HTML 3.9%Language:CSS 3.4%Language:Dockerfile 1.9%