3.1.1 • Published 5 months ago

dotapp v3.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 months ago

DotApp

A tiny, light-weight and full-featured nodejs framework built on express.js.

DOTAPP is shipped with combination of open sources libraries which are fully integrated to save the development time like users, roles an media.

Requirements

  • nodejs >= 12.0.0
  • git
  • mongodb

Installation

$ git clone https://github.com/basemkhirat/dotapp-framework blog
$ cd blog
$ npm install

Configuration

  1. Rename the file .env.example to .env.
  2. Change configurations in .env according to your environment. The .env file appears like this:

    ``` bash
    NODE_ENV=development
    APP_DEBUG=true
    APP_URL=http://localhost:3000
    APP_PORT=3000
    
    TOKEN_SECRET=
    TOKEN_EXPIRES=604800
    
    DB_URL=mongodb://localhost/mydatabase
    DB_USER=
    DB_PASS=
    ```
  3. Generate a new TOKEN_SECRET using this command:

    $ node run secret:generate
    
    Secret key updated successfully!
  4. Create the administrator user using this command:

    $ node run user:create
    
    First Name *: basem
    Last Name *: khirat
    Email *: basemkhirat@gmail.com
    Password *: ********
    
    User created successfully!

Environments

  • For developement: set the NODE_ENV=development and APP_DEBUG=true in .env file and run the dev command.
$ npm run dev
  • For production: set the NODE_ENV=production and APP_DEBUG=false in .env file and run the start command.
$ npm start

Server will listen at port 3000 by default. you can change the port later from app configurations.

Here you can browse your API Documentation http://localhost:3000/api/v1/docs

Documentation

Author

Basem Khirat - basemkhirat@gmail.com

Bugs, Suggestions and Contributions

Thanks to everyone who has contributed to this project!

Please use Github for reporting bugs, and making comments or suggestions.

License

MIT

2.2.23

5 months ago

3.1.1

5 months ago

3.1.0

5 months ago

3.0.0

3 years ago

1.0.19

4 years ago

2.2.22

4 years ago

2.2.21

4 years ago

2.2.20

4 years ago

2.2.18

4 years ago

2.2.19

4 years ago

2.2.17

4 years ago

2.2.16

4 years ago

2.2.15

4 years ago

2.2.14

4 years ago

2.2.12

4 years ago

2.2.11

4 years ago

2.2.10

4 years ago

2.2.9

4 years ago

2.2.8

4 years ago

2.2.5

4 years ago

2.2.7

4 years ago

2.2.6

4 years ago

2.2.4

4 years ago

2.2.1

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.19

4 years ago

2.0.18

4 years ago

2.0.17

4 years ago

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago