"DA.KOREAN" is a website for learning Korean.
The app allows to:
- sign in or sign up on website;
- buy courses, calligraphy pages (test mode);
- mailing newsletters after subscribing in the form of a footer;
- add, change, delete courses and calligraphy pages from admin page;
Main page:
Courses page:
Callygraphy page:
- React
- TypeScript
- React Router v.6
- Redux
- Redux Toolkit
- Express
- PostgreSQL
- Sequelise
-
download and install PostgreSQL from official website
-
clone repo with:
git clone git@github.com:BentonFraizer/DA.KOREAN.git
- go into the client folder with:
cd DA.KOREAN/client/
- install all dependencies with:
npm install
- run in the dev mode with:
npm start
- go into the server folder with:
cd DA.KOREAN/server/
- install all dependencies with:
npm install
8.1 copy file .env.example, rename to .env
8.2 change DATABASE_URL. For example:
from
DATABASE_URL = postgres://login:password@ip:port/bd_name
to
DATABASE_URL = postgres://postgres:postgres@localhost:5432/da_korean
- create a database with:
npm run dbr
- run in the dev mode with:
npm run dev
If you encounter an error you should change in "scripts" /client/package.json folder one row
from
"start": "DISABLE_ESLINT_PLUGIN=true BROWSER=none react-scripts start",
to
"start": "react-scripts start",