Calendar to see psychologist appointments, developed with ReactJs and using terapify-api.
Require Node.JS
npm install
Create a .env file at root level following the example file (.env-example).
PORT=3001
NODE_ENV=development
๐Development Environment
npm run dev
This project runs on http://localhost:3001 or the specified PORT on the .env file.
๐Production Environment
Run the following command to create the production build over the dist folder:
npm run prod
After creating the production build you can open the index.html on your browser.
๐Testing with Interface
npm run dev
This project runs on http://localhost:3001 or the specified PORT on the .env file.
You must specify the same port at the /test/cypress.json file.
After running the project, on other terminal run:
npm run test
After a moment a cypress window will appear, to run the test click on: cashOpening.spec.js
๐Testing from terminal
npm run dev
This project runs on http://localhost:3001 or the specified PORT on the .env file.
You must specify the same port at the /test/cypress.json file.
After running the project, on other terminal run:
npm run test:run
๐Deployment on GitHub Pages
Run the following command to create the production build and deploy on gh-pages branch for the first time:
npm run deploy:new
Run the following command to create the production build and deploy if you already have the gh-pages branch:
npm run deploy
- React
- ESLint
- Webpack
Terapify API - Backend Repository
You can test the Backend on the following URL https://terapify-api.vercel.app/api/appointments
- William Velazquez - WilliamVelazquez
If you want to know about the insights click here!
This project is licensed under the terms of the MIT license.
Feel free to contribute to the project!