> For the complete documentation index, see [llms.txt](https://fredericheem.gitbook.io/starhackit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fredericheem.gitbook.io/starhackit/backend/server.md).

# Node Backend

Backend Starter Kit written in Node.js with the following features:

* **SQL** Relational database support.
* **Koa** web server, the next generation web server with async/await support.
* **Social Authentication** with Facebook, GitHub and Google with [passport](http://passportjs.org/)
* **CORS** support with [kcors](https://github.com/koajs/cors)
* **Logging** with timestamp and filename.

## Tl;DR

To start the backend:

```
# cd server
# npm install
# npm run setup
# npm start
```
