Imperator is an internal tool to easily see client information in one place. With this dashboard you can automate internal processes such as extending trails, following up emails to canceled clients, discount offers, resetting passwords, updating client info, GDPR for company’s data, and display information from various APIs. Solving the issue of manually going through multiple processes and systems to update this information. Imperator was a group project completed fully remotely in a two-week sprint.
Typescript, Javascript, React, Redux, Node, Express, MongoDB, and Passport, ApexCharts
Before you get started, make sure you have the following software installed on your computer:
Go to mongodb and sign up for a free tier cluster. Add a MONGO_URI to a .env file
- Run
npm install
- Create a
.env
file at the root of the project and paste this line into the file:While you're in your newSERVER_SESSION_SECRET=superDuperSecret NODE_ENV = development MONGO_URI=mongo uri **FOR TESTING PURPOSE ONLY** TEST_USER=username for website TEST_PASSWORD=password for website TEST_EMAIL=email for sending emails
.env
file, take the time to replacesuperDuperSecret
with some long random string like25POUbVtx6RKVNWszd9ERB9Bb6
to keep your application secure. Here's a site that can help you: https://passwordsgenerator.net/. If you don't do this step, create a secret with less than eight characters, or leave it assuperDuperSecret
, you will get a warning. - Run
npm run server
- Run
npm run client
- Navigate to
localhost:3000
- Sign up for an account on Heroku.com
- Install Heroku CLI by typing
brew tap heroku/brew && brew install heroku
in Terminal
Note: Your project also needs to have a git repository.
Run the following commands from within your project folder.
- Authenticate by typing
heroku login
in Terminal - In terminal, navigate to your project folder and type
heroku create
- Type
git remote -v
to ensure it added successfully - In terminal, type
git push heroku main