Git Product home page Git Product logo

doctor-reservation's Introduction

Wellcome to my dream ๐Ÿ˜€ contact me at my networks anytime
ahmad salah | LinkedIn ahmad salah | facebook ahmad salah | gmail ahmad salah | gmail ahmad salah | gmail ahmad salah | gmail

Skills :

ahmad salah ahmad salah ahmad salah ahmad salah ahmad salah ahmad salah ahmad salah


ahmad salah ahmad salah ahmad salah ahmad salah ahmad salah AWS AWS ahmad salah ahmad salah

doctor-reservation's People

Contributors

ahmadysalah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doctor-reservation's Issues

create file structure

create the file structure below ..

the file structure for project folder: โœ”๏ธ

Doctors-reservation
|-- client
  |-- node_modules
  |-- public
  |   |-- fivicon.icon
  |   |-- index.html
  |-- src
  |   |-- assets 
  |   |     |-- images /
  |   |     `-- icons /
  |   |-- components
  |   |     |-- App  
  |   |     |    |-- App.css
  |   |     |    `-- App.js
  |   |     |-- Common
  |   |     |     |-- Header
  |   |     |     |   |-- index.js
  |   |     |     |   `-- index.css
  |   |     |     |-- Footer
  |   |     |     |   |-- index.js
  |   |     |     |   `-- index.css
  |   |     |     `-- index.js
  |   |     |-- pages
  |   |     |     |-- Home
  |   |     |     |   |-- index.js
  |   |     |     |   `-- index.css
  |   |     |     |-- Profile
  |   |     |     |   |-- index.js
  |   |     |     |   `-- index.css
  |   |     |     `-- index.js
  |   |-- utils
  |   |     |-- applicants /
  |   |     |-- admin /  
  |   |     `-- index.js
  |   |-- index.css
  |   `-- index.js 
  |-- .gitignore
  |-- package-lock.json
  `-- package.json
src
  |-- controllers
  |   |-- errors /
  |   |-- routes /
  |   |-- validation /
  |   `-- index.js
  |-- router
  |   `-- index.js
  |-- database
  |   |-- config 
  |        |--index.js 
  |   `-- queries
  |        |--index.js 
  |-- app.js
  |-- index.js 
|-- .gitignore
|-- package-lock.json
|-- package.json
|-- README.md

npm : server

  • express
  • mongoes
  • env2
  • nodemon
  • yup

npm : client
to-do

Readme

write readme to project contain :
1- information about Doctors
2- summary
3- user-journey
4-schema
5- technology
6-stretch goals

npm run build:database:dev

npm run build:database:dev not working

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nxt\AppData\Roaming\npm-cache_logs\2021-11-11T15_12_36_061Z-debug.log
PS F:\doctor-reservation-master\doctor-reservation-master> npm run build:database:dev

[email protected] build:database:dev F:\doctor-reservation-master\doctor-reservation-master
NODE_ENV=developer node server/database/utils/createCollection.js

F:\doctor-reservation-master\doctor-reservation-master\node_modules\mongoose\lib\index.js:330
Mongoose.prototype.connect = function("mongodb://127.0.0.1:27017/doctor?readPreference=primary&directConnection=true&ssl=false", options, callback) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Unexpected string
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (F:\doctor-reservation-master\doctor-reservation-master\node_modules\mongoose\index.js:9:18)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Note: This command was run via npm module 'win-node-env'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:database:dev: NODE_ENV=developer node server/database/utils/createCollection.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:database:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nxt\AppData\Roaming\npm-cache_logs\2021-11-11T15_12_56_303Z-debug.log

Back End || Post Doctor

endpoint :"/addDoctor/"
method: post


response {
status : 200
message : "doctor added successfully "
}

to-do

Back End | | get all appointment

create endPoint to get all appointment


method { get } 
response { 
status : 200
appointment {
patientName ,
age ,
appointmentData,
time,
}
}

to-do

Es lint configuration and vs code

  1. create vs code configuration
  2. create eslint configuration by installing the necessary npm for client
  3. create eslint configration by install the necessary npm for server
    4- install prettier and customize it ,

Back end | | mongo db

  • create the models for the database in the specific folder

  • create appointment schema

to-do

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.