Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joeythelantern/typescript-quickstart-projects

This repository houses some typescript based node js API quickstart projects.
https://github.com/joeythelantern/typescript-quickstart-projects

api boilerplate nodejs typescript

Last synced: about 2 hours ago
JSON representation

This repository houses some typescript based node js API quickstart projects.

Awesome Lists containing this project

README

        

# NodeJS Typescript Quickstart Projects

![N|Solid](https://lh3.googleusercontent.com/a-/AOh14GglnMoBPixoeH-IwaCWx7SpehtvYTPowns21fVO=s200-k-no-rp-mo)

[![GitHub stars](https://img.shields.io/github/stars/joeythelantern/Typescript-Quickstart-Projects.svg)](https://github.com/joeythelantern/Typescript-Quickstart-Projects/stargazers)
[![GitHub license](https://img.shields.io/github/license/joeythelantern/Typescript-Quickstart-Projects.svg)](https://github.com/joeythelantern/Typescript-Quickstart-Projects/blob/master/LICENCE)
[![GitHub forks](https://img.shields.io/github/forks/joeythelantern/Typescript-Quickstart-Projects.svg)](https://github.com/joeythelantern/Typescript-Quickstart-Projects/network)
[![Youtube_Channel_Views](https://img.shields.io/youtube/channel/views/UCmG1UbEI0iFE1tAw2SyvvXg?label=Channel%20Views&style=social.svg)](https://img.shields.io/youtube/channel/views/UCmG1UbEI0iFE1tAw2SyvvXg?label=Channel%20Views&style=social)

Hey everyone! This repository is a 3 in 1 boilerplate that gives you some basic examples of creating a RESTful API in NodeJS, Express, Typescript and an optional database interaction with either MySQL or Mongo. This repository contains 3 folders. Here is a breif description of each, along with a link to a youtube video that will help you code it out yourself:

- typescript-express-nodejs-quickstart
- Stats: ![N|Solid](https://img.shields.io/youtube/views/vyz47fUXcxU?style=social.svg) ![N|Solid](https://img.shields.io/youtube/likes/vyz47fUXcxU?style=social.svg)
- A basic boilerplate wwith a sample route and controller.
- [https://youtu.be/vyz47fUXcxU](https://youtu.be/vyz47fUXcxU)
- typescript-mongoose-quickstart
- Stats: ![N|Solid](https://img.shields.io/youtube/views/lNqaQ0wEeAo?style=social.svg) ![N|Solid](https://img.shields.io/youtube/likes/lNqaQ0wEeAo?style=social.svg)
- The same boilerplate with a sample MongoDB connection.
- [https://youtu.be/lNqaQ0wEeAo](https://youtu.be/lNqaQ0wEeAo)
- typescript-mysql-quickstart
- Stats: ![N|Solid](https://img.shields.io/youtube/views/eTRSl1As83A?style=social.svg) ![N|Solid](https://img.shields.io/youtube/likes/eTRSl1As83A?style=social.svg)
- Similar to the Mongo project, but with a custom mysql promise adapter.
- [https://youtu.be/eTRSl1As83A](https://youtu.be/eTRSl1As83A)
- ValidationByJoiExample
- Stats: ![N|Solid](https://img.shields.io/youtube/views/J5u9kXnPn8U?style=social.svg) ![N|Solid](https://img.shields.io/youtube/likes/J5u9kXnPn8U?style=social.svg)
- Protect your API and validate your data using JOI.
- [https://youtu.be/J5u9kXnPn8U](https://youtu.be/J5u9kXnPn8U)
- ValidationByYupExample
- Stats: ![N|Solid](https://img.shields.io/youtube/views/JgZ3RWcI3pk?style=social.svg) ![N|Solid](https://img.shields.io/youtube/likes/JgZ3RWcI3pk?style=social.svg)
- Protect your API and validate your data using YUP.
- [https://youtu.be/J5u9kXnPn8U](https://youtu.be/JgZ3RWcI3pk)

Periodic updates may happen to this repo to make small bug fixes or improvements. Feel free to fork this repository and code away.

# Updates / Bug Fixes
* 01/23/2021 - Adding MIT Licesnse
* 01/16/2020 - Fixing logging & logging the end of the request properly

### Installation

Install the dependencies and start the server. When you clonse the respository, cd into it and cd into one of the directories to start. Whichever one you pick is where you will run the following commands below. is the directory you've chosen.

```sh
$ cd
$ npm install
```

License
----
MIT