Skip to content

TalaikisInc/users-cubed-next-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talaikis Ltd.

Users Cubed NEXT Frontend

Features

Fully featured React.js SSR user management system/ CMS (frontend).

  • User sign in, sign up, sign out
  • Profile edit, delete
  • Account confirm, password reset
  • Terms and conditions. privacy policy, disclaimer examples
  • Contact form, etc. examples
  • Written in hooks (almost*)

Note. This project is SSR only, not using CSR part from Next.js, therefore, all links are <a href= instead of <Link href=.

  • Next.js custom app doesn't support hooks

Backend

Technologies

Performance

  • 1703 rps median, 17ms latency, without API calls

API

You should deploy your own API backend and set all the properties inside .env.

Install

npm i

Build

npm run build

Start

# Development:
npm run dev

# Production
npm run build
npm run start

Deploy

Docker:

./slave_build.sh
./slave_start.sh

# reload:
./reload.sh

Test

# npm run test

Sitemap generator

# will generate a sitemap inside public/ folder along with additional out.json and errors.json files
node sitemap/

How to change texts

Use translations/translations/*.js

How to change appearance

Currently all themeable items are inside components/elements/*.js and components/layout/*.js, except forms/delete.js and forms/subscribe.js

TODO

Primary

  • test reset, confirm reset
  • fix confirm from browser's window
  • social login
  • fix edit page
  • fix responsiveness
  • refer, referred, refer register pages
  • shop, blog

Other

  • refer system (left: REFER_USE -> REFER_REGISTER, REFERRED)
  • upload field/ avatar field
  • fast theme changes, composable primitives, layout map, loader map,...

Nice to have:

  • drop express
  • improved locale switching
  • fix export (+ sitemap -> routeMap)
  • tests
  • newsletters

Licence

GPL v3.0

Releases

No releases published

Packages

No packages published

Languages