Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ dist

# TernJS port file
.tern-port

.DS_Store
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
## zero-to-auth App

zero-to-auth App is Sample app will be usfull for the workshop for "Add authentication flow using Descope". this app includes
zero-to-auth is sample app for our monthly 0-to-Auth workshop. This app includes:

NodeJS server
React App client
1. NodeJS server
2. React App client

## Getting Started

This Sample app is contain **NodeJS server** and **React App client**.
After the first-time configuration, you can

This particular branch includes the finished code, for those that did not follow along and code out the middleware in the webinar.
**All you will have to do to run this app, is replace your Project ID's in the index.ts file (under /server) and the App.jsx file (under /client).**

### Quick Start

1. Install dependencies (root level)- `npm install`
2. Start the zero-to-auth (root level) - `npm run dev`
2. To start the server, run this command at root level (zero-to-auth) - `npm run server`
3. To start the client, run this command at root level (zero-to-auth) - `npm run client`

The client will by run, by default, on `http://localhost:3000`. The server will run on `PORT=8080`.

The client is now running on `http://localhost:3000`
And The Server is now running on port 8080
If you would like to use the flow provided from the webinar, you will need to go to your Sign-Up-Or-In flow [here](https://app.descope.com/flows/builder/sign-up-or-in) and upload the file `sign-up-or-in flow.json` provided in the root directory of this repository.
Loading