Skip to content

sakethreddy997/freshers-assignment-vjit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freshers-assignment-vjit

Project Analysis

As part of any software project , the first and foremost thing is to start it with gathering the requirments.
Using these particular requirments identified , need to analyze how to build the system, and all these documents are placed in Work_progress , Flow_diagrams folder.

Requirments

java programming language
jdk 1.7.1

junit -to test the application
Any of the ide ex: Intellij , eclipse , netbeans.
understanding over oops concepts.
Maven ie, used as a build tool.

Client Requirment Analysis

As per the given requirments from client , the entire application is to be developed using java , and input parameters are to be given through command line interface .
First and foremost thing is , this is not a gui based project.
Now, any person from any where in the world can execute this project for that we use Maven build tool , so that all the dependencies get downloaded on its own, and user can have a better experience
using Maven we can bring the required dependencies , from remote server to local system..

Approch

By making use of java programming , and concepts of object oriented programming , this project can be accomplished.
when the generated jar file is made to run on the local system , the console asks the user weather he is a new user or not and

Shows- New user[0] , old user [1]

if the user enters 0 , then console prompts the user to enter his/her :
Mobile no
Password
Name
and through this the details of the user gets stored in a file (to make these details to get stored into a seperate file ,we use concepts of :
Files
File Buffers
If User enters 1 , then he would be asked with with his mobile number and password

  • And now the user has enterd into the main screen of the recycling kiosk
    After the user enters into the Rubicon Kiosk operational Window , user would be shown with 3 operations
    Options would be like
    1.Plastic
    2.Glass
    3.Cans
    user would select either of them , and enters the number of cans he want to place in the kiosk
    On the basis of the inputs given Kiosk calculates the total recycled weight , and gives user with some points
    These points are given as a coupon and can be used to redeem

user details are taken from the console and stored in a textfile (out.txt)
using string tokenizers,user credentials are validated when he logins into the kiosk
coupon code will be generated and assigned to a particular user

References

To generate coupon code , used the 5th block from https://www.baeldung.com/java-random-string . i found like this block of code is simple and , which can genrate he code directly.

** Got an exception while using this code , i guess that is because of some jar related issue, so changed the coupon genereation code.**

Improvments to be done

As of now , a coupon code is generated for a user when he enters all the details , but need to make this application to an
extent of assigning the coupon code with the points.

Note

-------- Master branch is the original branch of the code , and remaining branches are for backup.
-------- Screenshot folder has all the workflow screenshots
Thankyou .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages