shadownet

0.0.7 • Public • Published

ShadowNet

ShadowNet is a tool designed to help you create a simple back-end application using Express.js and MongoDB.

Installation

  1. First, install ShadowNet globally by running the following command:

    npm install -g shadownet
    
  2. Once installed globally, navigate to your project directory and run the following command to create the project file structure:

    npx create-structure
    
  3. After creating the file structure, run the following command to generate files for a new resource:

    npx create-files your_resource
    
  4. Then, open the .env file and set your MongoDB connection string:

    CONNECTION_STRING=your_mongodb_connection_string_here
    

Usage

  1. To start the project, run the following command:

    npx nodemon server.js
    
  2. Define your data model and business logic in the controllers, models, and routes folders.

  3. Once the server is running, you can make API requests at http://localhost:8080/api/your_resource.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Package Sidebar

Install

npm i shadownet

Weekly Downloads

7

Version

0.0.7

License

ISC

Unpacked Size

9.64 kB

Total Files

10

Last publish

Collaborators

  • elnurbxs