https://github.com/devrax/pagination-ts-vue
A simple pagination page, it allows a pagination according the quantity of element to display
https://github.com/devrax/pagination-ts-vue
mongodb nodejs typescript
Last synced: about 1 month ago
JSON representation
A simple pagination page, it allows a pagination according the quantity of element to display
- Host: GitHub
- URL: https://github.com/devrax/pagination-ts-vue
- Owner: Devrax
- Created: 2019-10-20T23:27:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T23:10:22.000Z (over 2 years ago)
- Last Synced: 2024-05-27T17:49:24.974Z (about 1 year ago)
- Topics: mongodb, nodejs, typescript
- Language: Vue
- Homepage:
- Size: 4.53 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pagination with VUE/Typescript
### How to make it run
first you need to install mongodb in your computer and start the service (From command line is like this)
#### Linux
```bash
sudo service mongod start
```
#### Windows
```bash
service mongod start
```to stop it only change `start` for `stop`.
Later you have to install the depencies in both folders running the command `npm install` as in the **server** folder as in the **client** folder.
After both installations are done, run first `npm run start` inside the server directory and generate dummy data throught the `/create` endpoint, for default it will generate 100 articles, you can change that in `Pagination/server/routes/index.js`, after that go to the client and run it with `npm run server`. you should see something like this...

