A full-stack web application for a encrypted instant messaging system.
🏠 Homepage
.
├── .github
├── services/
├── ├── __mocks__/ (any file type to mock)
│ ├── apis/
│ │ └── <all server apis>
│ ├── application/ (reactjs)
│ │ ├── media/
│ │ │ └── <all frontend assets>
│ │ ├── public/
│ │ └── src/
│ ├── models/
│ │ └── <db schemas>
│ ├── tests/
│ │ ├── controllers/
│ │ │ └── <all test controllers>
│ │ ├── data/
│ │ │ └── <all test data>
│ │ └── <backend tests>.js
│ ├── .babelrc
│ ├── .env.template
│ ├── package-lock.json
│ ├── package.json
│ ├── server-utils.js
│ ├── server.js
│ └── webpack.config.js
├── .gitignore
├── Code_OF_CONDUCT.md
├── LICENSE.md
└── README.md
- This project is created with MongoDb Cloud. Create your own project/cluster here for testing purposes.
- Make acopy and rename
mystery-chat/services/.env.template
tomystery-chat/services/.env
- Edit the all fields in
< ... >
with your mongo cluster information.
Make acopy and rename
mystery-chat/services/.env.template
tomystery-chat/services/.env
and Edit the all fields in< ... >
.
# MongoDB connection URL
DB_HOST=mongodb+srv://<user>:<password>@<cluster url>/<DB name>?retryWrites=true
# Application secret for token generation and verification
SECRET=<secret>
# Gmail user and pass for sending verification emails for new users
MAIL_USER=<email username>
MAIL_PASS=<email password>
# install all prerequisites
npm install
# compile and bundle all source code
npm run build
# start the main backend server with build files
npm start
# start the react dev server
npm run dev
# run both backend and frontend tests
npm run test
# run frontend tests
npm run test-frontend
# run backend tests
npm run dev
👤 Kalindu De Costa
- Website: http://kdecosta.com/
- Github: @kalindudc
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Note: All PRs must pass existing unit tests and if any new features are introduced, please add necessary unittests.
Give a ⭐️ if this project helped you!
Copyright © 2021 Kalindu De Costa.
This project is Mozilla Public License 2.0 licensed.
This README was generated with ❤️ by readme-md-generator