loopback - react, router, redux, axios, formik, bootstrap 4 fullstack playground with authentication and user management
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
common
server
.gitignore
LICENSE
README.md
package.json

README.md

loopback-react playground

loopback - react, router, redux, axios, formik, bootstrap 4 fullstack playground with authentication and user management

This a full stack playground for developing a Loopback - React application. And it's under the development still.

For more info you can check:

Run Loopback

npm install
node .

The server run on localhost:3003 and server/boot/init.js will create three users (admin, editor and user)

You can reach the Api Explorer via localhost:3003/explorer

Run Client (React)

cd client/
yarn install
yarn start

The client run on localhost:3000 and talking with api on localhost:3003

Add a React Componnet
cd client/
npx crcf src/components/NewComponent

Build and Serve the Client

cd client/
yarn build

After the build to serve the client you should edit the server/middleware.json like below

 "files": {
   "loopback#static": {
     "params": "$!../client/build"
   }
 }

to more info https://loopback.io/doc/en/lb3/Defining-middleware.html

Routes

 /
 /about
 /signin
 /signup
 /signout
 - /home
   /profile
   /settings (run as /settings/account)
   /settings/change-password
   /users
   /user/:id
   /user/:id/edit
   /:username (run as /profile)