Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
42e98fa
Changes for syncing react and node app and running in openode
DEVAbhinav Sep 18, 2020
1957ea7
added previous structured folder
Shruti3004 Sep 21, 2020
dadf7c1
added readme
Shruti3004 Sep 21, 2020
57162ec
added server folder
Shruti3004 Sep 21, 2020
bf238f3
added commands for openode
Shruti3004 Sep 21, 2020
3bc4656
removed unwanted files
Shruti3004 Sep 21, 2020
2a35c65
updated client package.json
Shruti3004 Sep 21, 2020
236c1da
added openode as dependency
Shruti3004 Sep 22, 2020
df41f18
resolved merge conflicts
Shruti3004 Sep 25, 2020
f93d3e7
updated footer link and meta tags content and description
Shruti3004 Sep 26, 2020
42bec28
updated meta tags
Shruti3004 Sep 26, 2020
38a8ead
updated favicon
Shruti3004 Sep 26, 2020
10059ee
updated favicon contact page
Shruti3004 Sep 26, 2020
f8ac193
updated all the content
Shruti3004 Sep 26, 2020
c4a400b
updated all the colour with variables
Shruti3004 Sep 26, 2020
78c6779
added css variables
Shruti3004 Sep 27, 2020
355565c
Merge pull request #6 from DEVAbhinav/Openode-integration
Shruti3004 Sep 27, 2020
90c288d
updated Readme
Shruti3004 Sep 27, 2020
6d62661
updated Readme
Shruti3004 Sep 27, 2020
2a85e5a
Merge pull request #9 from DEVAbhinav/Openode-integration
Shruti3004 Sep 27, 2020
7ad980e
updated sitemap and keywords
Shruti3004 Oct 12, 2020
72f3629
added the new logo
Shruti3004 Oct 12, 2020
f129f6e
updated logo
Shruti3004 Oct 12, 2020
72a10d0
updated the logo
Shruti3004 Oct 13, 2020
7b427df
revamped complete title page
Shruti3004 Oct 13, 2020
a0320be
added packages
Shruti3004 Oct 14, 2020
875e649
added popular destination section
Shruti3004 Oct 14, 2020
fcff1bf
added logo in description
Shruti3004 Oct 14, 2020
c53e19c
updated the repo with dynamic routing
Shruti3004 Oct 18, 2020
fde8ca8
updated the favicon, description and loader
Shruti3004 Oct 18, 2020
ecf3549
updated the content, footer, price, loader
Shruti3004 Oct 20, 2020
929d01b
updated the blogs content, and logo in the navbar
Shruti3004 Oct 20, 2020
163724f
updated it to PWA
Shruti3004 Oct 23, 2020
77b0fc4
updated
Shruti3004 Oct 24, 2020
a4543e4
optimization is done
Shruti3004 Nov 1, 2020
2c7ca21
updated the blogs section and added the jsons for the blogs
Shruti3004 Nov 5, 2020
6ff0521
revamp of complete website
Shruti3004 Nov 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .openodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

.node_modules
.openode
config/
config/
.server/node_modules
16 changes: 0 additions & 16 deletions Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
61 changes: 59 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,59 @@
# Oreo
Static WebSite
<h1 align= "center"><b>Vinayaka Travels</b></h1>

<p align="center">Planning a trip to Varanasi?</p>

<p align="center">Book a cab in Varanasi with us for the lowest fare and most efficient car hire and taxi service. Hire us to visit Kashi Vishwanath, Ganga Aarti, Sarnath Darshan and many more places inside as well as near Varanasi and take your touring experience to another level.</p>

<h3><b>Technology Used</b></h3>
<ul>
<li>Bootstrap 4.x</li>
<li>ReactJS</li>
<li>Nodejs</li>
<li>Expressjs</li>
</ul>
<h4>Using React hooks to improve the app performance</h4>
<ul>
<li>React Hooks are the way to use stateful functions inside a functional component. Functional components are components written as a function, so they take some input (props) and return a react element.</li>
<li>More information https://reactjs.org/docs/hooks-intro.html</li>
<li>Using React Hooks will improve the performance of our project as it uses memorization techniques to avoid re-rendering of the component.</li>
</ul>

<h3><b>Quick Start :rocket: </b></h3>

##### `Install server dependencies`

npm install

##### `Install client dependencies`

cd client
npm install

##### `Run both Express & React from root`

npm run dev

##### `Build for production`

cd client
npm run build

Test production before deploy. <br>
After running a build in the client point_up_2, cd into the root of the project.
And run..

NODE_ENV=production node app.js
Check in browser on http://localhost:8080/

<a href="./LICENSE"><h2 align= "center"><b>License</b></h2></a>

<p align="center"><img width=35% src="https://media.giphy.com/media/xUPGcJGy8I928yIlAQ/giphy.gif"></p>

<h2 align= "center"><b>Project Maintainer</b></h2>
<p align="center">
<img width=20% src="https://avatars1.githubusercontent.com/u/14235781?s=400&u=04e682f0022b55e24740ebd9ed4a22dd9f1b95cd&v=4">
</p>
<p align="center"><a href="https://github.com/DEVAbhinav"><b>Abhinav Pandey</b></h4></a></p>
<h5 align="center">
Made with 💖 for Kashi
</h5>
119 changes: 0 additions & 119 deletions app.js

This file was deleted.

Binary file added assets/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.openode
# testing
/coverage
/src/components/contact/config.js

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
6 changes: 6 additions & 0 deletions client/.openodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# dotenv environment variables file
.env

.node_modules
.gitignore
22 changes: 22 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:12-alpine

WORKDIR /opt/app

ENV PORT=80

# daemon for cron jobs
RUN echo 'crond' > /boot.sh
# RUN echo 'crontab .openode.cron' >> /boot.sh

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)

COPY package*.json ./

RUN npm install --production

# Bundle app source
COPY . .

CMD sh /boot.sh && npm start
68 changes: 68 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
Loading