This is an authentication app built with React and a Node on Express server, using Material UI design. With the app you can register, log in and see the your most recent logins.
Install requirements by running npm install
in the project and /client directory.
Install PostgreSQL, create a database by running createdb users
and create two tables:
create table login(
id serial primary key,
hash varchar(100) not null,
email text unique not null
);
create table users (
id serial primary key,
firstname VARCHAR(100),
lastname VARCHAR(100),
email text unique not null,
logins timestamp[],
joined date
);
In the project directory, run:
This will start the database service.
Runs the client and server in the development mode.
Open http://localhost:3000 to view it in your browser.
Launches the test runner in the interactive watch mode.