Skip to content

LittleOddBoy/lolo-api

Repository files navigation

Lolo API

Lolo API is a TypeScript-based RESTful API built with Node.js and Express. It provides essential backend functionality for managing data and services efficiently. This project is one of the Backend project of roadmap.sh collection.

Features

  • Built with Node.js, Express, and TypeScript
  • Modular and scalable architecture
  • MySQL integration (Read #2 to know about my ORM drama)
  • Environment-based configuration
  • Hot-reloading with Nodemon for development

Prerequisites

Make sure you have the following installed:

Installation

Clone the repository and install dependencies:

git clone https://github.com/LittleOddBoy/lolo-api.git
cd lolo-api
npm install  # or yarn install

Configuration

Create a .env file in the project root and define environment variables as required. Example:

PORT=3000

Running the API

To start the development server:

npm run dev  # Uses Nodemon for hot-reloading

To run in production mode:

npm run build
npm start

Contributing

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch-name.
  3. Commit your changes: git commit -m "Add new feature".
  4. Push to the branch: git push origin feature-branch-name.
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any issues or feature requests, please open an issue on the repository.

About

✍ a simple RESTful blogging API for your next blog application!

Topics

Resources

License

Stars

Watchers

Forks