snaprun

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linke

Usage no npm install needed!

<script type="module">
  import snaprun from 'https://cdn.skypack.dev/snaprun';
</script>

README

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

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.

snaprun also generates an app.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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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