This project is an internship project developed in Node.js with MySQL as the database. It is designed for handling online appointments.
clone the repository
git clone https://github.com/deepakabari/HalloDoc-typescript.git
Install dependencies:
npm install
Create a .env
file in the project root directory to store database credentials:
.env
file.npm run migrate
npm run seed
Start the development server:
npm start
This will run nodemon app.ts
in development mode with hot reloading.
Access the API at http://localhost:3000
in your browser.
Swagger documentation is available at http://localhost:3000/docs
for exploring available API endpoints.
Use ts-node
or your preferred TypeScript compiler for code development.
The dev
script in package.json
runs ts-node-dev app.ts
for hot reloading during development.
Build the application for production using the build
script in package.json
:
npm run build
Configure the deployment environment with the appropriate database credentials and environment variables.
This project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions from the community. Please submit pull requests following the project’s guidelines.