A Node.js application for scheduling charging sessions for electric vehicle charging stations.
Clone the repository
Install dependencies by running npm install
Build the project by running npm run build
Start the server by running npm start
Start the server in development mode by running npm run dev
Run tests with npm test
-
exportSchema: export MongoDB schemas to plain txt
-
initDB: initialize an example database record
-
rmDB: remove the example database record
-
genTestJWT: generate a test JSON Web Token for testing authentication functionality
-
build: build the TypeScript project
-
start: start the server in production mode
-
dev: start the server in development mode with nodemon
-
test: run Jest tests
- index.ts - db & listen
-
- app.ts - boilerplate
-
-
- loginRouter - exact router and controller
-
-
-
-
- loginController
-
-