IN PROGRESS: This is a [Next.js] app that displays hiking trips
NOTE - This is for personal use and updated bit by bit
- Ecommerce Project for booking Trips
- Table of Contents
- Tech Stack
- Installation and Setup
- Environment Variables
- Run Stripe
- Access Dashboard
- Users
- Screenshots
This app includes the following additional libraries:
- Stripe
- Next
- ECharts
- Prisma
- An Admin system for importing the trips (IN PROGRESS)
- Authorisation (NEXT auth done for sign in for user and admin roles)
- Management of Admin side
- Orders and Users
- UI on many page
- Display of trips
- Sign up for users
- PostgreSQL
- Pipeline and Vercel
- Unit tests
Clone the repository:
git clone https://github.com/JackDust24/thai-trips.git
cd trips
Run the program:
npm install
npm run dev
See env.example
Read Stripe docs how to set up and run locally:
stripe login
stripe listen --forward-to localhost:3000/webhook
Need to be logged in as an admin user
localhost:3000/dashboard
Need Admin access. If own database, add role as admin.
From the envlosed db:
Admin user > email: test@test.com, password: test1234@
Card No: 4242424242424242