Skip to content

A full stack solution to Caesar's Cipher built with AngularJS and NestJS

Notifications You must be signed in to change notification settings

srsexton94/caesars-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar's Cipher

Project Description

A full stack solution to Caesar's Cipher built with an Angular 8 frontend and a Nest.js backend in node.js. Will take an input phrase and a specified offset ammount, and output the correctly encoded solution.

Video Walkthrough

Dependencies

Set up & Installation

  • Initialize node package manager
    • npm init -y
  • Initialize & run Angular client app
    • npm install -g @angular/cli
    • ng new client
    • cd client
    • ng serve --open
  • Initialize & run Nest server
    • npm install -g @nestjs/cli
    • nest new server
    • cd server
    • npm run start
  • Add Jest to CLI for testing
    • npm install -g jest-cli

User Stories

As a user I would like to be able to...

  • enter a phrase (string) and a offset ammount (number) into a form
  • submit that form to make an API call
  • receive a correctly encoded string in return
  • see error messages/visual feedback for invalid inputs/bad requests/etc..
  • see my previous search queries even as the page reloads

Back-end Specifications

  • contain the logic for the Caesar's Cipher
  • implement uniting testing (see.. ./api/src/ciphers.controller.spec.ts)

Aditional Resources

In addition to the Angular, Node, Nest, npm, and Jest documentation listed above, these resources were also used for additional learning/guidance:

Future Goals

In future iterations of this project I would like to...

  • implement functionality that utilizes the other attributes of the cipher resource in the API (ie not just 'encoded')
  • implement functionality that utilizes the other HTTP requests (ie 'get', 'patch', 'delete')
    • eg. add 'get' (index) and 'delete' routes (and adjust client to generate index view from this API - not localStorage) - so that user can delete a specific query, rather than only all of them
    • eg. add 'get' (show) and 'patch' routes so that user can adjust the phrase/offset ammount for a specific previous query

About

A full stack solution to Caesar's Cipher built with AngularJS and NestJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published