botyrest
v0.1.1
Published
RestFul API Framework
Downloads
3
Maintainers
Readme
BotyRest | RestFul Api | Node Typescript
The project is a framework for creating RESTful APIs using Node.js and Fastify, written in TypeScript for safer and more scalable development. With this framework, you can quickly create a RESTful API that is easy to maintain and customize. Additionally, with the help of Fastify, your API will have excellent performance, ensuring a smooth and fast user experience.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
What things you need to install the software and how to install them.
Installing
A step by step series of examples that tell you how to get a development env running.
- Clone the repository with the command
git clone https://github.com/pxnditxyr/botyrest.git
- Run the command
npm i
- Change name of .env.example to .env
mv .env.example .env
Running Database with Docker in Dev Mode
For running database you need
docker compose up -d
Running
For running the application in development mode, it's recommended to have two separate terminal windows running the following commands:
- To transpile TypeScript files in watch mode.
npm run build:dev
- To start the development server with file watch.
npm run start:dev
For running the application in production mode, run the command To start the production server.
- To transpile TypeScript files.
npm run build:prod
- To start the server.
npm run start:prod
Built With
Authors
- Pxndxs - Link to GitHub profile
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
- Thank you to my 10 cats for keeping me company while coding.