Journey is a single page app for creating trip itineraries for groups in real time, and browsing public itineraries for inspiration.
Front-end: React and TailwindCSS
Back-end: Express, Node.js, PostgreSQL and Socket.io
- Create the
.env
by using.env.example
as a reference
- Sign up for Triposo API Key (https://www.triposo.com/api/signup)
- Install dependencies:
npm i
- Reset database (using Node v10.20.x):
npm run db:reset
- Start back-end server:
npm start
(ornpm run dev
to run in dev mode with nodemon integration) - Start the client/front-end server:
npm start
- Visit
http://localhost:8000/
- Use the
npm run db:reset
command each time there is a change to the database schema or seeds.- Note: in doing this, you will lose any newly created data (not in seed files), as the schema will tend to
DROP
the tables and recreate them.
- Note: in doing this, you will lose any newly created data (not in seed files), as the schema will tend to
- Node (14.X) for React
- Axios (0.21.X)
- React (17.X)
- TailwindCSS (2.0.X)
- Socket.io-client (4.X)
- Craco (6.1.X)
- emailjs-com (2.6.X)
- react-router-dom (5.2.X)
- react-to-print (2.12.X)
- Node (14.X) for Express Server
- Node (10.20.X) for PostgreSQL
- Express (4.16.X)
- Axios (0.21.X)
- Socket.io (4.X)
- bcrypt (5.0.X)
- cookie-session (1.4.X)
- helmet (4.4.X)
- pg (8.5.X)
- pg-native (3.0.X)
- Triposo
- Nominatum