Skip to content

ryanpager/processor-interview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

SignaPay - Interview Application

Running The Server

# 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

Running The Client

// 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.

Demo Credentials

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

General Considerations & Notes

  1. 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.
  2. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 63.2%
  • Elixir 33.5%
  • CSS 2.9%
  • Other 0.4%