An Express application ready to use, and extend, in seconds!
This is a basic setup and it's intended for making the initial application architecture process much faster and easier.
- Clone this repository,
- install what's needed:
npm i
, - copy
.env.sample
to.env
(change the values, if needed), - compile your static assets (from
/source
):grunt mini
or justgrunt
, - run the application:
grunt nodemon *
ornpm start
* In order to run Grunt tasks, make sure you have it installed globally, if not then run: npm i -g grunt-cli
Visit http://localhost:9000 (Unless you changed the port in the .env
file)
Take a look at /app/core/controllers/cities.js
and /app/core/controllers/users.js
, they both implement some basic CRUD logic. Create a forms in the respective views (/app/core/views/
) that allow you to create some users
and cities
. You can also implement deletion.
Submit a pull request with your ideas and I will provide detailed feedback on your work and progress.
Happy learning.
fork https://github.com/aichholzer/ExpressBoilerplate/