https://github.com/nikhiljohn10/felix
HapiJS Server in Typescript
https://github.com/nikhiljohn10/felix
hapijs server typescript
Last synced: 12 days ago
JSON representation
HapiJS Server in Typescript
- Host: GitHub
- URL: https://github.com/nikhiljohn10/felix
- Owner: nikhiljohn10
- License: mit
- Created: 2022-08-25T05:03:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T21:54:59.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T16:16:47.654Z (6 months ago)
- Topics: hapijs, server, typescript
- Language: TypeScript
- Homepage:
- Size: 202 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Felix





[](https://www.codacy.com/gh/nikhiljohn10/felix/dashboard?utm_source=github.com&utm_medium=referral&utm_content=nikhiljohn10/felix&utm_campaign=Badge_Grade)
[](https://codecov.io/gh/nikhiljohn10/felix)
> 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](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](https://www.prisma.io/)
- Implement authentication
- Implement typescript code generator
- Optimise code and adopt all best practices