Wellspring Server is the backend component of the Wellspring healthcare management application. It handles all server-side operations including database interactions, authentication, and email notifications.
Note
Please note that this is server side of the Wellspring application. You will need to set up the client side to use the application. The client side can be found here.
Caution
Please note that the database files are not included in this project. You will need to create your own database and tables to use this server.
- Authentication: Uses JSON Web Tokens (JWT) for secure user authentication.
- Database Management: Uses MSSQL for storing and retrieving data.
- Email Notifications: Uses Nodemailer for sending email notifications to users.
- Cross-Origin Resource Sharing (CORS): Allows the client application to interact with the server from a different origin.
To get started with Wellspring Server, ensure you have Node.js and npm installed on your system. Follow these steps to set up the project:
- Clone the repository.
git clone https://github.com/your-username/wellspring-server
- Navigate to the project directory.
cd wellspring-server - Install the dependencies.
npm i
- Start the server.
nodemon wellspring_server.js
The server will be running at http://localhost:5174.
Wellspring Server uses several dependencies for its operations:
- cors: To enable CORS.
- dotenv: To load environment variables from a .env file.
- express: For building the server.
- jsonwebtoken: For creating JWTs for user authentication.
- mssql: For interacting with the MSSQL database.
- nodemailer: For sending emails.
- nodemon: For automatically restarting the server during development.
Wellspring Server is licensed under the GNU General Public License v3.0.
If you have any questions, issues, or suggestions, please open an issue on our GitHub repository or contact us directly.
Wellspring Server was created as part of the Spring 2024 CSC131 class at California State University, Sacramento.