Skip to content

alina-bylkova/graduation-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graduation-project 🎓

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.

Take a look for yourself:

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 😊 )

Purpose of project

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.

Tech Stack

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.

To test this app on your machine:

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

Limitations, what we might add in the future:

  • 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.

About

graduation-project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published