Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rikyperdana/express-crud
MongoDB Management Web App
https://github.com/rikyperdana/express-crud
crud mongodb mongodb-client
Last synced: about 2 months ago
JSON representation
MongoDB Management Web App
- Host: GitHub
- URL: https://github.com/rikyperdana/express-crud
- Owner: rikyperdana
- Created: 2020-06-28T08:21:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T04:24:53.000Z (about 2 years ago)
- Last Synced: 2024-10-17T07:57:02.217Z (3 months ago)
- Topics: crud, mongodb, mongodb-client
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express CRUD
This is a CRUD (Create, Read, Update, Delete) built on top of ExpressJS.## Preparation
`git clone https://github.com/rikyperdana/express-crud`Create a file named `.env` inside the folder that contain this line:
`MONGO="your mongo connection string"`
Ex: I got my connection string from Atlas connect menu.
If you're using localhost then:
`MONGO="mongodb://localhost:27017"`## Start
```
npm install
node server.js
```Get to http://localhost:3000
## How to Use
- Click 'Get Collection' button and fill the database and collection name as target
- Use 'Refresh' button to reload the collection from source
- Use 'Add' to insert a new object into the collection
- Double click a row to display the 'Update' and 'Delete' function
- Use Export button to get the csv of the loaded collection
- Use Import button to insert all the contents of the Exported csvYou can also use the REST API programmatically through browser console, like:
```
poster('dbCall', {
method: 'get', dbName: 'yourDb', collName: 'yourCollection'
}, res => console.log(res))
```## Dependencies
### Server Side
- Express JS
- dotenv
- mongodb
### Client Side
- Lodash
- Mithril
- Bulma CSS
- SiftJS
- Papa Parse## Screenshots
![screenshot](https://user-images.githubusercontent.com/11875540/83006693-d0d01080-a03c-11ea-9f84-441a94d3e01c.png)