Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 717 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 717 Bytes

LyxeJS Example Application

Example project for LyxeJS Framework.

Try it out

Step 1. Clone this repository:

git clone https://github.com/queses/lyxe-example.git
cd lyxe-example

Step 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 mode

Step 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