Skip to content

ivanBalev/Guessmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello there!

This is an Express.js api - clone of the famous web-based word game Wordle

MongoDB  Node.js  Express  TypeScript 

To run it:

0. Install dependencies - npm i

1. Create .env.development file in your root directory with credentials for the development server

2. Seed data - 'npm run seed {resource path || resource url} {resource language}'

  • Example: 'npm run seed /resources/shakespiro.txt en
  • Example: 'npm run seed https://www.ef.com/wwen/english-resources/english-vocabulary/top-3000-words en

3. Start server - 'npm start'

Node.js 

4. Swagger API documentation endpoint - /docs

  • User id(uuid) is attached to response headers after first guess request
  • Set it in your request headers for subsequent requests to keep track of all your guesses
Mocha 

5. Run tests - 'npm test'

- Create .env.test file in your root directory with credentials for the testing server

About

Node.js Wordle clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages