/website-airnes

Monorepo Website & Mobile - NextJS / React Native

Primary LanguageJavaScript

Airneis Project

Website peek

Context

Ă€IRNEIS ("furniture" in Scottish Gaelic) is a Scottish company that resells furniture designed by Scottish designers. They have expressed their desire to move into the digital age and wish to create their own e-commerce solution to reach an international clientele and expend the one they already have locally. The final deliverable required is a mobile-first e-commerce website and a mobile application, with a web backoffice to manage the content, an integrated content and a secure and maintainable payment system over time.

Our team

Tom Ollivier Hugo Vaillant Charlotte Waegeneire William Wautrin
Web developer Web developer Web developer Web developer

Important links:

.env setup

HOST_PATH=

# Your DB
DB_CONNECTION_HOST=
DB_CONNECTION_USER=
DB_CONNECTION_PWD=
DB_CONNECTION_DB=

# Hash password
SECURITY_PASSWORD_PEPPER=
SECURITY_JWT_SECRET=

# SendGrid
KEY_SEND_GRID=
MAIL_SEND_GRID=

# Stripe
SK_STRIPE=

How to install the project

  • Clone the project;
  • Run the command npm install to install all the dependencies;
  • Set up the .env file;
  • Run the npx knex --esm migrate:latest to create your database tables. Make sure your postgreSQL database is empty;
  • Run the command npm run build to build the website;
  • Run the command npm run start to run the website;
  • The terminal will tell you the url based on the host you indicated in your .env file. Enjoy !