@ibnuhabibie/oxi

0.0.2 • Public • Published

Oxi - Modular starter for express.js

Getting Started

You can get OXI via npm.

$ npm i @ibnuhabibie/oxi --save
$ npx oxi
$ npx oxi init

Please install pm2 as the packages is required to serve application.

$ npm install pm2 -g

oxi init

These command will setting up your api project application, with these steps:

  • create folder storage/logs and modules
  • create .env file
  • create .gitignore file
  • create pm2.config.json
  • create boot.js file
  • adding script to package.json file
  • downloading auth-module
  • installing dependencies need for auth-module

What's next ?

After project setup complete, follow these steps:

  • create db database
  • adjust env value at .env file
  • run migrations and seeders using npx oxi migrate --force and npx oxi seed --force
  • run npm start && pm2 logs

/@ibnuhabibie/oxi/

    Package Sidebar

    Install

    npm i @ibnuhabibie/oxi

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    20 kB

    Total Files

    23

    Last publish

    Collaborators

    • ibnuhabibie