# Set current working directory to the server.
cd server
# Install all of the dependencies for the application.
mix deps.get
# Create and seed the database to make sure that all migrations
# have been run and the application is in valid state.
mix ecto.setup
# Run the server, the api will be accessible at localhost:4000.
mix phx.server// Set the current working directory to the client.
cd client
// Install all of the dependencies for the application.
npm install
// Run the application.
npm run dev
// Once the application is running, the console will give the localhost
// port that the application is running on. Open that url in the browser
// to view the application.
//
// The default for the application will run on localhost:5173.Use the following credentials once the server and client is running to log into the application,
email: [email protected]
password: Takers-mercy-dropped-stoned-beauties
- The card numbers are stored raw, but in a real application, we should not store the actual card values; there needs to be a tokenizing method or a way to obfuscate to conform to PCI compliance rules.
- We are using UUIDs as primary keys so that it makes it harder to url crawl and possible find out other information that could be protected. In a production system, we would limit this from the server based on an ACL system.