https://github.com/alexeykorkoza/testmean
Test application for working with map. User can add place and type of place.
https://github.com/alexeykorkoza/testmean
bootstrap es6 gulp leaflet-map mean-stack selectize yarn
Last synced: about 1 month ago
JSON representation
Test application for working with map. User can add place and type of place.
- Host: GitHub
- URL: https://github.com/alexeykorkoza/testmean
- Owner: AlexeyKorkoza
- License: mit
- Created: 2016-12-13T19:38:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T12:33:41.000Z (almost 8 years ago)
- Last Synced: 2026-04-30T20:32:14.386Z (about 1 month ago)
- Topics: bootstrap, es6, gulp, leaflet-map, mean-stack, selectize, yarn
- Language: JavaScript
- Homepage:
- Size: 4 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
TestMEAN is test application for working with map.
## Demo
https://powerful-ocean-87208.herokuapp.com/
## Install
First of all, clone the repository:
```
git clone https://github.com/AlexeyKorkoza/TestMEAN.git
```
After that install packages using npm:
``` npm install ```
Using yarn:
``` yarn install ```
Create .env file where you must write credentials to Database. See .env.example as example
Create database with name ```interactive_map```
## Run
Start client part:
``` npm run webpack:watch ```
Start server part:
``` npm dev:watch ```
## API
Url | Method | Description |
------- | ---------------- | ---------:
/login | GET | Render login page
/login | POST | Log in application
/logout | GET | Log out from application
/signup | GET | Render signup page
/signup | POST | Sign up in application
/app | GET | Render main page
/api/v1/profile/:id/ | PUT | Update user profile
/api/v1/types/ | GET | Get all types of places
/api/v1/types/:id/ | GET | Get one type by id
/api/v1/types/ | POST | Create new type
/api/v1/types/:id/ | PUT | Update type
/api/v1/types/:id/ | DELETE | Remove type
/api/v1/places/ | GET | Get all places
/api/v1/places/:id/ | GET | Get one place by id
/api/v1/places/ | POST | Create new place
/api/v1/places/:id/ | PUT | Update place
/api/v1/places/:id/ | DELETE | Remove place
## Tests
``` npm run test ```