This is our graduation project for School of Applied techonology. During a period of two weeks we did two sprints (mon-fri, then mon-thur) to complete this project. There are some limitations to acknowledge which is located at the bottom of this readme.
Click here -> salt-graduation-project.herokuapp.com
You can create a patient account or login as a psychologist ...
psychologist login: email: [email protected] password: secret( But please be friendly in your inputs 😊 )
This is an easy-to-use platform that can be used by organizations to provide mental health support for human traffic victims. The application currently supports two types of users: patients and psychologists. Patients can anonymously register, login and leave a message (create a case) for a mental health specialist and close the case at any time. Psychologists must already be in a system in order to login, work with cases, write notes and answer/talk to patients. The conversation between two parties works like a chat.
We're using:
- Node / Express backend
- React / TypeScript frontend
- MongoDB with mongoose / As database
-> Linter using airbnb
-
Authentication is an auth middleware using JWT.
-
Testing with mongodb-memory-server For integration testing our endpoints we used a module called mongodb-memory-server which allows us to run tests on your a simulated mongodb database on your machine instead of a remote mockdatabase.
Supply a .env file in the server folder which should with the following variables:
MONGO_URI={YOUR_MONGO_DB_URI}
JWTSECRET={YOUR_JWT_SECRET}
NODE_ENV=dev
git clone [email protected]:Ymirke/graduation-project.git
cd graduation-project
npm run installAll
npm run dev
- Testing is limited, we would rather have as finished of a product as possible as the time frame was so limited.
- Responsive design, currenlty the app works best on laptops.
- As we switched to a better linter we didn't have time to re-write our app, so there is a lot of ignore-next-lines which shouldn't be there.