chore: setup featherjs project

This commit is contained in:
Elias Renman
2023-05-20 09:18:45 +02:00
parent ab69ce119a
commit 0040dc6384
26 changed files with 762 additions and 0 deletions

42
server/readme.md Normal file
View File

@@ -0,0 +1,42 @@
# server
> The server for handling two way communication with a iot Device
## About
This project uses [Feathers](http://feathersjs.com). An open source framework for building APIs and real-time applications.
## Getting Started
1. Make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
2. Install your dependencies
```
cd path/to/server
npm install
```
3. Start your app
```
npm run compile # Compile TypeScript source
npm run migrate # Run migrations to set up the database
npm start
```
## Testing
Run `npm test` and all your tests in the `test/` directory will be run.
## Scaffolding
This app comes with a powerful command line interface for Feathers. Here are a few things it can do:
```
$ npx feathers help # Show all commands
$ npx feathers generate service # Generate a new Service
```
## Help
For more information on all the things you can do with Feathers visit [docs.feathersjs.com](http://docs.feathersjs.com).