Skip to content

Latest commit

 

History

History
56 lines (51 loc) · 1.97 KB

README.md

File metadata and controls

56 lines (51 loc) · 1.97 KB

More Secure App, now Dockerized!

Dockerized web application demonstrating authentication and authorization with JWTs built with Node.js, Express, PostgreSQL, and React.

To run application, run docker-compose up -d from the root folder. This website will be accessible from localhost:1234

When initialized, two users will be created:

  • Admin Account
    • Username: admin
    • Password: administrator
    • Roles: Admin/Moderator/User
  • Moderator Account
    • Username: mod
    • Password: moderator
    • Roles: Moderator/User

All new users will only have the User role provisioned.

To-do:

  • Implement error handling for registration page - username/email in use
  • Create .env file for use with api/database/docker-compose

Screenshots

Pages

Home

Home

Login

Login

Signup

Signup

User Registered

Registration Confirmation

Registered Users

User Board

User Board

Moderator Board

Moderator Board

Admin Board with Ping Test

Host Reachable

Admin Board 1

Host Unreachable

Admin Board 2

Error Handling

Unauthorized View

Unauthorized

Invalid Hostname for Ping Test

hostname error

Login Errors

Incorrect Credentials

credentials error

Required Field

login required field error

Registration Errors

Invalid Email

Email error

Invalid Password

Password error