https://github.com/athiththan11/dossier
Express.js Server backed with MongoDB and GraphQL
https://github.com/athiththan11/dossier
express-graphql express-server expressjs graphql mongodb
Last synced: 2 months ago
JSON representation
Express.js Server backed with MongoDB and GraphQL
- Host: GitHub
- URL: https://github.com/athiththan11/dossier
- Owner: athiththan11
- License: mit
- Created: 2019-04-22T17:22:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T22:42:16.000Z (over 3 years ago)
- Last Synced: 2025-06-25T23:02:45.429Z (12 months ago)
- Topics: express-graphql, express-server, expressjs, graphql, mongodb
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dossier
An Express.js Backend Baked with MongoDB and GraphQL.
[Demo](https://dossier-server.herokuapp.com) | Deployed on Heroku
## Setup & Usage
clone or download the project and configure your `mongodb` connection url, by either following these 2 defined approaches ...
### .env
create a `.env` file in the root of your project folder and add the following ...
```env
MONGODB =
```
### app.js
replace the `mongodb` connection url in the `app.js` file ...
```javascript
// replace the `process.env.MONGODB` with your connection url
mongoose
.connect(process.env.MONGODB, {
promiseLibrary: require('bluebird'),
useNewUrlParser: true
}).then();
```
## Run
run the `server` using the following command from the root of the project folder ...
```shell
nodemon
```