This is the brand new FH server, which (as for now) is not complete.
During the transition meantime from the legacy server to this one, all APIs of this server should NOT be accessible publicly, as they are meant to be called from a pass-through the legacy server.
config/ config for the different environments
docs/ project docs and coding guides
public/ static files root
reports/ test and coverage reports
server/ project source code
|- app/ app components
|- core/ shared helpers
|- hooks/ common service hookds
|- middleware/ custom middleware
|- services/ app services
|- app.ts app and middleware setup
+- server.ts server entry point
Task automation is based on NPM scripts.
Tasks | Description |
---|---|
npm start | Launch server. |
npm test | Run unit tests, lint code and check for package vulnerabilities |
npm run lint | Lint code |
npm run freeze | Lock down NPM dependencies with shrinkwrap |
npm run docs | Display project documentation |
- REST API server based on Feathers and TypeScript
- Static code analysis via TSLint
- Unit tests using Jasmine and SuperTest
- Security enforcements using Helmet and Node Security
- Swagger API documentation
- Local knowledgebase server using Hads
- Authentication with JSON Web Token (JWT) using Passport
- Configurable logger using winston
- API versioning
Use npm run docs
for easier navigation.
[[index]]