Skip to content

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

Notifications You must be signed in to change notification settings

alymaquiling/more-secure-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published