FACG4 / nigerian-airlines

MIT License
0 stars 1 forks source link

#47 create pop up by react modal #48

Closed Balsam-Faysal closed 6 years ago

Balsam-Faysal commented 6 years ago

I know its messy code but I do my best in the 'home/index.js' file any suggestion I will do it create pop up by using the module 'react-modal' get the phone number and check of it is in DB then updating the customer if he wanna check or not then get the flight details anyway then .. the user story here is :

NouraldinS commented 6 years ago

@Balsam-Faysal How do I run your server with client? And what do I need to do with the database?

Balsam-Faysal commented 6 years ago

@NoureldeanSaed As we did :

NouraldinS commented 6 years ago

@Balsam-Faysal Can you please send the contents of your config.env? Seems that you're having certain settings such as Dialect that I haven't added.

Balsam-Faysal commented 6 years ago

config.env content :

 SECRET=semsem
 DB_NAME=airline
 DB_USER=balsam
 DB_PASS=airline
 DB_DIALECT=postgres
NouraldinS commented 6 years ago

image @Balsam-Faysal

NouraldinS commented 6 years ago

You can forget about the last error :sweat_smile: my bad.

Balsam-Faysal commented 6 years ago

npm i for both package.json

NouraldinS commented 6 years ago

@Balsam-Faysal Also it would be great to have a few comments on your functions that are 10+ lines.