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

https://github.com/actuallyconnor/node-like-laravel

This is a Node.js and Express.js starter repo. It also includes Socket.io as well as the logger Winston.
https://github.com/actuallyconnor/node-like-laravel

Last synced: about 1 year ago
JSON representation

This is a Node.js and Express.js starter repo. It also includes Socket.io as well as the logger Winston.

Awesome Lists containing this project

README

          

# Node like Laravel

I wanted a simple Node.js app starting place that had a familiar directory structure to Laravel and let you start working right away.

## Install instructions
1. Clone this repository onto your local machine.
2. `cd` into the project root.
3. Run `npm install`.
4. Copy the `.env.example` file to a new file just called `.env`.
5. Run `node app.js` and navigate your browser to `localhost:3000`.

## Gulp tasks
- `gulp watch` - compile Sass and JavaScript in `/resources/sass/` or `/resources/js` directories to the respective `/public/css/` or `/public/js/` directories.
- `gulp styles` - compile Sass in `/resources/sass/` directory to the `/public/css/` directory.
- `gulp scripts` - compile JavaScript in `/resources/js/` directory to the `/public/js/` directory.

## Changes to expect in the future
- Further routing setup to allow for a default `/api/` web directory for example.
- MySQL database compatibility.
- Pusher Events integration for event based debugging.
- A directory structure that more closely mimics Laravel.