back-end done

This commit is contained in:
Amir Mohamadi
2020-12-10 16:36:48 +03:30
parent 80a7abafb7
commit bc5e617778
92 changed files with 5217 additions and 3379 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const mongoose = require('mongoose');
// mongodb database connection string. change it as per your needs. here "mydb" is the name of the database. You don't need to create DB from mongodb terminal. mongoose create the db automatically.
mongoose.connect('mongodb://localhost:27017/hima', {
mongoose.connect('mongodb://localhost:27017/arakrail', {
useNewUrlParser: true,
useUnifiedTopology: true,
useFindAndModify: false,