https://github.com/krguptaa/nodejs_skeleton
Boilerplate for nodejs
https://github.com/krguptaa/nodejs_skeleton
boilerplate boilerplate-application expressjs mysql-database nodejs nodejs-modules rest rest-api rest-api-framework serverside-scripting skeleton
Last synced: 17 days ago
JSON representation
Boilerplate for nodejs
- Host: GitHub
- URL: https://github.com/krguptaa/nodejs_skeleton
- Owner: krguptaa
- Created: 2018-08-22T09:03:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T12:09:17.000Z (over 7 years ago)
- Last Synced: 2025-02-13T19:40:40.584Z (11 months ago)
- Topics: boilerplate, boilerplate-application, expressjs, mysql-database, nodejs, nodejs-modules, rest, rest-api, rest-api-framework, serverside-scripting, skeleton
- Language: JavaScript
- Size: 69.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
```Node.Js sKeleton ```
-------------------
``Folder Structure``
`Server
app
--Utility
--Middleware
--View
--api
--v1
routes.js
config
database
public
storage
-- logs
-- cache
-- session
-- testing
globals.js
index.js
.env.example
server.js
index.js
package.json
README.md`
1. package.json
A lot of the behavior described in this document is affected by the config settings described in npm-config.
this will include name, version, script, description, keyword, licence etc.
3. .env.example file
Replace with .env file, it is configuration file for the system
3. server.js
Server file for include the .env file and index file
4. index.js
including the global configuration file and starting the server
## Installation
*for newbies : Clone or download zip to your machine then hit this :
`npm install`
## Steps for generating the package for node Js
1. Create the Folder
`mkdir foldername`
2. Clone the repository
git clone https://github.com/gupta-kamlesh-r/nodejs_skeleton.git