This is a message center app built with Express, PostgreSQL, Tailwind, EJS, Bcrypt, PassportJS, and Express-Validator.
- Add/Send Messages
- Verification using a secret hidden within your
.env
file. - Members list
- Ability to see messages you've sent/created.
- Add admin role to edit/delete messages and create roles for members.
- Add ability to edit/delete personal messages.
- Possibly integrate Websockets.
In order to play with this app on your personal machine, you will need to do some setting up before hand.
Run npm install
to install all necessary packages.
-
Download and get a PostgreSQL database setup on your local machine.
-
Create an
.env
file and populate it with your Database information. -
Update the connection string within the
db/populated.js
file.connectionString: "postgresql://<role_name>:<role_password>@localhost:5432/top_users",
-
Run the following command to populate your database:
node db/populatedb.js
-
Now that your database is setup all you have left to do is run the server.
npm run dev
From there visit localhost:3000
and have fun!