Example project for LyxeJS Framework.
Step 1. Clone this repository:
git clone https://github.com/queses/lyxe-example.git
cd lyxe-exampleStep 2. Perform some init actions:
yarn # install dependencies
cp .env.dist .env # create environment file
yarn orm schema:sync # init database schema
yarn dev # run web-server in dev modeStep 3. Go to http://localhost:3000/api/example/hello to get a greeting.
Step 4. Run some tests:
yarn orm:test schema:sync # init test database schema
yarn test # run tests