🤖 An Express application ready to use, and extend, in seconds!
MIT License
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.
npm i
,.env.sample
to .env
(change the values, if needed),/source
): npm run build
,npm start
Note: Building the static assets will, by dedault, yield a boilerplate.css.min
and a boilerplate.js.min
file (in their respective folders). However, you can change the name of the output file by passing the name to the build command; npm run build -- -out=...
-where out
will be the name of the output files. (Also, remember to change the file name in the views where these static assets are being used.)
Visit http://localhost:9000 (Unless you changed the port in your .env
file)
/app/core/controllers/cities.js
and /app/core/controllers/users.js
, they both implement some basic CRUD logic./app/core/views/
) that allow you to create users
and cities
.delete
methods for both entities.Happy learning.
fork https://github.com/aichholzer/ExpressBoilerplate/