Giter Club home page Giter Club logo

Comments (11)

shmiitg avatar shmiitg commented on July 19, 2024

do we need to manually add data to the database ? In the project local database is connected, so it wont be available everywhere. And for displaying the data from database we need to use template engines like ejs or hbs .

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

do we need to manually add data to the database ? In the project local database is connected, so it wont be available everywhere. And for displaying the data from database we need to use template engines like ejs or hbs .

Yes check the ITC hotels website and fill the database with all hotels & resorts with features and then use react to display them in the hotels page

from business-website-codepeak2021.

shmiitg avatar shmiitg commented on July 19, 2024

If we use a local database, then it won't be available to everyone. We should use monogdb atlas for this right?

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

yeah I guess, i don't have it so never used it, i always use mongodb compass so i guess you are right

from business-website-codepeak2021.

shmiitg avatar shmiitg commented on July 19, 2024

can we use template engines like ejs for this, if we use react then we have to use two different ports(one for express and other for react) and we have to change the folder structure and change all the get routes in express and create new routes to run in react, this process will be very hectic and will involve a lot of changes in the entire code. So i guess using ejs or hbs will be better.

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

can we use template engines like ejs for this, if we use react then we have to use two different ports(one for express and other for react) and we have to change the folder structure and change all the get routes in express and create new routes to run in react, this process will be very hectic and will involve a lot of changes in the entire code. So i guess using ejs or hbs will be better.

Yes u can should i assign u

from business-website-codepeak2021.

shmiitg avatar shmiitg commented on July 19, 2024

Screenshot (276)
Do we need to add all these hotel names and display it like this?
Screenshot (277)
If we have to do this, then you can assign me

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

Screenshot (276)
Do we need to add all these hotel names and display it like this?
Screenshot (277)
If we have to do this, then you can assign me

Yes if you are using bootstrap/tailwind then use card system or something better. But add all the hotels & resorts

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

Screenshot (276)
Do we need to add all these hotel names and display it like this?
Screenshot (277)
If we have to do this, then you can assign me

It was my school project, previous i created with css as js but school won't understand it so removed everything.

from business-website-codepeak2021.

shmiitg avatar shmiitg commented on July 19, 2024

I have put everything in mongodb (total 57 documents are there and it took a lot of time i adding all those manually). I have not created any cards but not rendered the names as it was there in the hotels.html file, but mongodb contains all the things as there in itc website.
Screenshot (278)
For creating cards as you said, could you please assign someone else.

from business-website-codepeak2021.

ArchismanKarmakar avatar ArchismanKarmakar commented on July 19, 2024

reating cards as you said, could you please assign someone else

great work, okay i will put a new issue then

from business-website-codepeak2021.

Related Issues (20)

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.