/felix

HapiJS Server in Typescript

Primary LanguageTypeScriptMIT LicenseMIT

Felix

node-current Typescript GitHub package.json version GitHub code size in bytes GitHub Workflow Status Codacy Badge codecov MIT LICENSE

Felix means happy in latin

A HapiJS server in typescript using Hapipal boilerplate.

Development

git clone https://github.com/nikhiljohn10/felix.git
cd felix
npm install
cp .env-keep .env
npm run dev

Development server have debugging and auto-reload features.

Sever will be live at: http://localhost:4000

To lint and fix:

npm run lint

To test the felix server:

npm test

Test report will be in ./coverage.

To build the felix server:

npm run build

The build output will be in ./dist directory.

To run the felix server:

npm start

Production

For production server,

npm run prod

TODO

  • Add Prisma Client
  • Implement authentication
  • Implement typescript code generator
  • Optimise code and adopt all best practices