narainkarthikv / fit-track

Open Source Contribution Exercise Logger Application. Develop:https://fit-track-dev.netlify.app
https://wisdomfox-fit-track.netlify.app/
MIT License
2 stars 7 forks source link

Feature Update: Backend Optimisation #6

Open narainkarthikv opened 2 months ago

narainkarthikv commented 2 months ago

The current backend of the Fit Track application requires optimization to improve the speed of data responses and requests. This will enhance overall performance by reducing latency and increasing efficiency.

Tasks

  1. Analyze Current Performance

    • [ ] Review and document current backend performance metrics.
    • [ ] Identify bottlenecks in the backend code and database queries.
    • [ ] Create a performance baseline to measure improvements.
  2. Optimize Database Queries

    • [ ] Review and optimize existing database queries for efficiency.
    • [ ] Implement indexing on frequently queried fields.
    • [ ] Refactor slow or inefficient queries.
    • [ ] Consider and implement improvements to database schema if needed.
  3. Improve API Response Times

    • [ ] Analyze API endpoints to identify slow responses.
    • [ ] Optimize API endpoint code and processing logic.
    • [ ] Implement caching mechanisms for frequently requested data.
    • [ ] Review and adjust server configuration settings to enhance performance.
  4. Enhance Code Efficiency

    • [ ] Refactor backend code to reduce complexity and improve execution speed.
    • [ ] Optimize algorithms and data structures used in the backend.
    • [ ] Conduct code reviews to ensure best practices are followed.
  5. Benchmark Performance

    • [ ] Measure and document performance metrics before optimization.
    • [ ] Conduct performance testing after optimizations are implemented.
    • [ ] Compare pre- and post-optimization metrics to ensure improvements.
  6. Testing and Validation

    • [ ] Ensure all optimized code is thoroughly tested to prevent regressions.
    • [ ] Validate that database changes do not affect data integrity or application functionality.
  7. Documentation

    • [ ] Update relevant documentation to reflect changes in the backend.
    • [ ] Document any new performance benchmarks and optimization strategies.

Acceptance Criteria

Additional Information

Labels

ProgrammerAditya36 commented 2 months ago

I can work on that . Please assign it to me.

narainkarthikv commented 2 months ago

@ProgrammerAditya36, the backend is currently encrypted with the ATLAS_URI key, so it’s not accessible on localhost. In the meantime, could you work on the login page? I’ll work on making the .env file accessible on localhost, but I can’t expose the API_KEY as it’s not safe to do so.

ProgrammerAditya36 commented 2 months ago

Ok

CoderRahul9904 commented 2 weeks ago

Hey @narainkarthikv can I contribute on backend is there any unique features in your mind like not just User Auth, Post, Get and all but something new? I would be happily work on that ! Lemme Know.

CoderRahul9904 commented 2 weeks ago

@narainkarthikv can you give your .env file so that i can start working, as of now i feel to work on Ui and SSO

narainkarthikv commented 2 weeks ago

Hi @CoderRahul9904,

I’ve been thinking about a feature idea where users can send friend requests and encourage their gym buddies to keep up their workout streaks and stay motivated. Would it be possible to create a complete component for this, including both the UI and a functional backend?

CoderRahul9904 commented 2 weeks ago

Hi @narainkarthikv,

Sure, I can definitely work on creating the friend request feature for encouraging gym buddies to keep up their workout streaks and stay motivated. However, to integrate the database for this, I'll need your .env file for the database connection details.

Let me know when you can provide it, and we can move forward!

Thanks!

Best, @CoderRahul9904

narainkarthikv commented 2 weeks ago

Hi @narainkarthikv,

Sure, I can definitely work on creating the friend request feature for encouraging gym buddies to keep up their workout streaks and stay motivated. However, to integrate the database for this, I'll need your .env file for the database connection details.

Let me know when you can provide it, and we can move forward!

Thanks!

Best, @CoderRahul9904

Hi, the MongoDB setup is outlined in the readme.md of the Fit-Track repository, and the .env.example files in both the frontend and backend directories provide the names of the environment variables you'll need. You can follow these instructions to set it up smoothly. Currently, I'm focused on learning the infrastructure side of application development to improve local workflows, so I'm unable to share the backend URL at this time.