https://github.com/ushliypakostnik/robot-game-backend
https://github.com/ushliypakostnik/robot-game-backend
express moongose
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ushliypakostnik/robot-game-backend
- Owner: ushliypakostnik
- Created: 2021-04-25T16:52:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T16:12:59.000Z (over 3 years ago)
- Last Synced: 2025-01-15T07:03:18.783Z (9 months ago)
- Topics: express, moongose
- Language: JavaScript
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backend Start Project
=====================Описание
--------Стартовый проект на Express.js с Babel.
API
---GET
${HOST}/testТестовый роут
*
Deploy
------Установка зависимостей npm packages
$ npm install
Development
-----------Create a database at https://cloud.mongodb.com/
Create @/src/pass.js like @/src/pass.js.tmpl:
```js
const PASS = {
DB: {
url: 'mongodb+srv://admin:[...your key...]',
},
RANDOM_BYTES: Number,
};export default PASS;
```And write your correct key into it
$ npm start
http://localhost:8082/
Production
----------Запуск проекта для продакшена
$ npm run prod
Тесты
-----Запуск линтера
$ npm run lint
Запуск тестов
$ npm run test