0.0.2 • Published 2 years ago

@ibnuhabibie/oxi v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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