README
Simplest Express Generator.
GO Ahead and create your next great project in a few seconds!
Explore the docs »
NPM
·
Report Bug
·
Request Feature
Generate your expressjs projects with ease.
One command install:
npx snaprun
or:
npm i -g snaprun
Built With
I built snaprun
with a few node packages...
Inquirer is what I had used to build my CLI.
- Colors Colors is a library which helped to put different colors on the terminal. There
Getting Started
It is very easy to get started. Just opent up your project directory and run:
npm - -g snaprun
Prerequisites
You will need the latest version of NPM or Yarn (Yarn is recommended)
- npm
npm install npm@latest -g
- yarn
npm install -g yarn
Snaprun also installs morgan for logging . It's a very useful utility.
also generates an snaprunapp.js
file. with the following content.
const express = require('express')
const morgan = require('morgan')
morgan('tiny')
const app = express()
const port = process.env.PORT || 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log('Application/Server/API listening at http://localhost:3000')
})
Issues
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Naseel Niyas - @naseelniyas - naseel@techharvesting.in
Project Link: https://github.com/your_username/repo_name