Skip to content

sameerwasim/mailer-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailer App

An App to manange your email campaigns.

Acknowledgements

Authors

Tech Stack

Client: React, React Admin, React Router v6

Server: Node, Express, MySQL RCM

Screenshots

Login Screen Screenshot Dashboard Screenshot

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DATABASE_HOST DATABASE_USER DATABASE_PASS DATABASE_DB JWT_SECRET CRYPTR

Run Locally

Clone the project

Import the MySQL file (mailerApp.sql)

Go to the project directory backend

  cd backend

create .env.* file, Set all secrets inside

  • DATABASE_HOST
  • DATABASE_USER
  • DATABASE_PASS
  • DATABASE_DB
  • JWT_SECRET
  • CRYPTR

Install dependencies

  npm install

Start the server

  npm run start

it automatically starts the server with development mode

Go to the project directory client

  cd ..
  cd client

set backend url inside apiUrl path: /client/src/config/index.js

Install dependencies

  npm install

Start the frontend

  npm run start

the login credentials for the first time are

user: sameer / password: 12345678

To create new admin

you can create a new admin by sending a post request on url /user/create with body {username and password} also send the auth token in header x-access-token which you will get from application local storage

Support

For support, email me @ sameerwaseem01@gmail.com

Feedback

If you have any feedback, please reach out to me at sameerwaseem01@gmail.com

License

MIT

About

An App to manange your email campaigns

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published