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.
- Host: GitHub
- URL: https://github.com/actuallyconnor/node-like-laravel
- Owner: ActuallyConnor
- Created: 2020-04-24T18:47:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T20:50:55.000Z (about 6 years ago)
- Last Synced: 2025-02-05T09:17:34.917Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.