This application allows start a patient's medical history
Since this application is not a static application, you should have some thinks to do before you can start.
- NodeJS: If you have not Mongo you can download it in Node JS Documentation
- MongoDB If you have not Mongo you can download it in MongoDB Community Server. Alternativetly you can use MongoDB Atlas MongoDB Community Server
Once you have it installed, run:
mongod
In order to start the database server
Important information You need to create three environments variables to this project
DATABASE_URL=<yourDatabaseURL>
where yourDatabaseURL is the direction to your database. ExampleDATABASE_URL=mongodb://localhost/nameSECRET_OR_KEY=<secretWord>
: Where secretWord is a String o code that you must save in secret.
On the root folder of the proyect
# Run mongodb
mongodb
# Install dependencies for client
yarn run client-install
# Install dependencies for server
yarn install
# Run the client & server with concurrently
yarn run dev
# Run the Express server only
yarn start
# Run the server with nodemon
yarn run server
# Run the React client only
yarn run client
# Server runs on http://localhost:3001 and client on http://localhost:3000
Mateo León Alzate & Valerie Parra Cortés
The MIT License (MIT)
Copyright (c) Mateo León Alzate & Valerie Parra Cortés
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.